From 2f18a9d5fff97e19258dc994983a22e6fdbab567 Mon Sep 17 00:00:00 2001 From: Marty Oehme Date: Fri, 29 Nov 2019 21:03:58 +0100 Subject: [PATCH] Remove unnecessary aliases from fasd I never use half the aliases that fasd provides by default. To make room for personal quick bindings, simply disable them. They are commented should I want to make use of them in the future. --- .config/shell/rc.d/enable-fasd-hook.sh | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) 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