diff --git a/.config/shell/rc.d/enable-fasd-hook.sh b/.config/shell/rc.d/enable-fasd-hook.sh index 4da3439..4fb3666 100644 --- a/.config/shell/rc.d/enable-fasd-hook.sh +++ b/.config/shell/rc.d/enable-fasd-hook.sh @@ -1,3 +1,12 @@ #!/bin/sh # more usage instructions at https://github.com/clvv/fasd -eval "$(fasd --init auto)" +eval "$(fasd --init zsh-hook zsh-ccomp zsh-ccomp-install zsh-wcomp zsh-wcomp-install)" + +alias a='fasd -a' # any +alias s='fasd -si' # show / search / select +# alias d='fasd -d' # directory +# alias f='fasd -f' # file +# alias sd='fasd -sid' # interactive directory selection +# alias sf='fasd -sif' # interactive file selection +alias z='fasd_cd -d' # cd, same functionality as j in autojump +alias zz='fasd_cd -d -i' # cd with interactive selection