Fix static analysis and lint errors
This commit is contained in:
parent
8494eda973
commit
d7e8831423
9 changed files with 116 additions and 117 deletions
|
|
@ -2,11 +2,11 @@
|
|||
#
|
||||
# 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
|
||||
if [[ $LBUFFER =~ [A-Z0-9]+$ ]]; then
|
||||
zle _expand_alias
|
||||
zle expand-word
|
||||
fi
|
||||
zle self-insert
|
||||
}
|
||||
|
||||
zle -N globalias
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue