Adds alt+m zle shortcut to create the directory for the current arg

This commit is contained in:
Jonathan Hodgson 2020-05-22 17:37:21 +01:00
parent 448efc999b
commit b6c1b9efc6
2 changed files with 39 additions and 0 deletions

View file

@ -0,0 +1,7 @@
# This makes zsh automatically escape certain characters when typing a url
autoload -Uz url-quote-magic
zle -N self-insert url-quote-magic
# This does the same for pasting a url
autoload -Uz bracketed-paste-magic
zle -N bracketed-paste bracketed-paste-magic