diff options
-rw-r--r-- | .config/zsh/.zshrc | 12 | ||||
m--------- | .config/zsh/zsh-manydots-magic | 0 | ||||
-rw-r--r-- | .gitmodules | 3 |
3 files changed, 12 insertions, 3 deletions
diff --git a/.config/zsh/.zshrc b/.config/zsh/.zshrc index aa5e149..6faedc1 100644 --- a/.config/zsh/.zshrc +++ b/.config/zsh/.zshrc @@ -31,12 +31,18 @@ if [[ -a /usr/share/fzf/key-bindings.zsh ]] && [[ -a /usr/share/fzf/completion.z source /usr/share/fzf/completion.zsh fi +# plugins - url quote magic +autoload -Uz url-quote-magic +zle -N self-insert url-quote-magic + +# plugins - magic dots (must come after url-quote-magic) +fpath=($ZDOTDIR/zsh-manydots-magic $fpath) +autoload -Uz manydots-magic +manydots-magic + # magic navigation setopt autocd cdpath=(. $HOME $HOME/devil $HOME/src) -alias -g ...='../..' -alias -g ....='../../..' -alias -g .....='../../../..' # a bit nicer life when copy/pasting commands from docs setopt interactive_comments diff --git a/.config/zsh/zsh-manydots-magic b/.config/zsh/zsh-manydots-magic new file mode 160000 +Subproject 4372de0718714046f0c7ef87b43fc0a598896af diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..53179d7 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule ".config/zsh/zsh-manydots-magic"] + path = .config/zsh/zsh-manydots-magic + url = git@github.com:knu/zsh-manydots-magic.git |