mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-08 16:39:50 +00:00
globalias: allow filtering values not to be expanded (#9331)
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
globalias() {
|
||||
zle _expand_alias
|
||||
zle expand-word
|
||||
if [[ $GLOBALIAS_FILTER_VALUES[(Ie)$LBUFFER] -eq 0 ]]; then
|
||||
zle _expand_alias
|
||||
zle expand-word
|
||||
fi
|
||||
zle self-insert
|
||||
}
|
||||
zle -N globalias
|
||||
|
||||
Reference in New Issue
Block a user