FIX: remove i3-swallow
from cmd if present
This commit is contained in:
parent
73fa9df70e
commit
727092dec0
1 changed files with 1 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
|||
_i3swallow() {
|
||||
[[ -z $BUFFER ]] && zle up-history
|
||||
if [[ $BUFFER == i3-swallow\ * ]]; then
|
||||
LBUFFER="${LBUFFER#sudo }"
|
||||
LBUFFER="${LBUFFER#i3-swallow }"
|
||||
else
|
||||
LBUFFER="i3-swallow $LBUFFER"
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue