organize all shell scripts into logical dirs

This commit is contained in:
Marty Oehme 2019-03-15 14:40:03 +01:00
parent c4d2b9534a
commit a446cd7a7a
30 changed files with 177 additions and 252 deletions

View file

@ -0,0 +1,14 @@
# Expand aliases inline - see http://blog.patshead.com/2012/11/automatically-expaning-zsh-global-aliases---simplified.html
globalias() {
if [[ $LBUFFER =~ ' [A-Z0-9]+$' ]]; then
zle _expand_alias
zle expand-word
fi
zle self-insert
}
zle -N globalias
bindkey " " globalias
bindkey "^ " magic-space # control-space to bypass completion
bindkey -M isearch " " magic-space # normal space during searches