move fdfind alias to the top
This commit is contained in:
parent
86eadfdc15
commit
bf158fb137
|
@ -19,6 +19,11 @@ setopt autocd
|
||||||
# to add other keys to this hash, see: man 5 terminfo
|
# to add other keys to this hash, see: man 5 terminfo
|
||||||
typeset -g -A key
|
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
|
# Use vi-mode
|
||||||
source ${XDG_CONFIG_HOME}/zsh/zsh-vi-mode/zsh-vi-mode.plugin.zsh
|
source ${XDG_CONFIG_HOME}/zsh/zsh-vi-mode/zsh-vi-mode.plugin.zsh
|
||||||
ZVM_VI_INSERT_ESCAPE_BINDKEY=jj
|
ZVM_VI_INSERT_ESCAPE_BINDKEY=jj
|
||||||
|
@ -268,10 +273,6 @@ else
|
||||||
alias lf="cd \"\$(/usr/bin/lf -print-selection -print-last-dir)\""
|
alias lf="cd \"\$(/usr/bin/lf -print-selection -print-last-dir)\""
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if command -v fdfind &> /dev/null; then
|
|
||||||
alias fd="fdfind"
|
|
||||||
fi
|
|
||||||
|
|
||||||
function o () {
|
function o () {
|
||||||
xdg-open "$1" &!
|
xdg-open "$1" &!
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue