X-Git-Url: https://src.twobees.de/?a=blobdiff_plain;f=stow%2Foh-my-zsh%2F.oh-my-zsh%2Fplugins%2Fscd%2Fscd.plugin.zsh;fp=stow%2Foh-my-zsh%2F.oh-my-zsh%2Fplugins%2Fscd%2Fscd.plugin.zsh;h=0000000000000000000000000000000000000000;hb=1a8e170bbe5c6641a26ab1ce2e6ce6c5c1faa4cd;hp=1a6c186542d025afcde8c9c8b3ef5ed2de999c62;hpb=475ba35502579302593f4735c853c49ef1845dcb;p=dotfiles.git diff --git a/stow/oh-my-zsh/.oh-my-zsh/plugins/scd/scd.plugin.zsh b/stow/oh-my-zsh/.oh-my-zsh/plugins/scd/scd.plugin.zsh deleted file mode 100644 index 1a6c186..0000000 --- a/stow/oh-my-zsh/.oh-my-zsh/plugins/scd/scd.plugin.zsh +++ /dev/null @@ -1,17 +0,0 @@ -## The scd script should autoload as a shell function. -autoload -Uz scd - - -## If the scd function exists, define a change-directory-hook function -## to record visited directories in the scd index. -if [[ ${+functions[scd]} == 1 ]]; then - chpwd_scd() { scd --add $PWD } - autoload -Uz add-zsh-hook - add-zsh-hook chpwd chpwd_scd -fi - - -## Load the directory aliases created by scd if any. -if [[ -s ~/.scdalias.zsh ]]; then - source ~/.scdalias.zsh -fi