diff --git a/i3swallow.plugin.zsh b/i3swallow.plugin.zsh index f7c3e5d..d297e5d 100644 --- a/i3swallow.plugin.zsh +++ b/i3swallow.plugin.zsh @@ -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