about summary refs log tree commit diff
path: root/.config
diff options
context:
space:
mode:
Diffstat (limited to '.config')
-rw-r--r--.config/zsh/.zshrc12
m---------.config/zsh/zsh-manydots-magic0
2 files changed, 9 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