diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc index 1e6e908..862a5f0 100644 --- a/.config/zsh/.zshrc +++ b/.config/zsh/.zshrc @@ -19,6 +19,11 @@ setopt autocd # to add other keys to this hash, see: man 5 terminfo typeset -g -A key +# We need this here since it's used below +if command -v fdfind &> /dev/null; then + alias fd="fdfind" +fi + # Use vi-mode source ${XDG_CONFIG_HOME}/zsh/zsh-vi-mode/zsh-vi-mode.plugin.zsh ZVM_VI_INSERT_ESCAPE_BINDKEY=jj @@ -268,10 +273,6 @@ else alias lf="cd \"\$(/usr/bin/lf -print-selection -print-last-dir)\"" fi -if command -v fdfind &> /dev/null; then - alias fd="fdfind" -fi - function o () { xdg-open "$1" &! }