diff --git a/.config/zsh/zshrc.d/60-keys.zsh b/.config/zsh/zshrc.d/60-keys.zsh index 1b6df9f..22be046 100644 --- a/.config/zsh/zshrc.d/60-keys.zsh +++ b/.config/zsh/zshrc.d/60-keys.zsh @@ -111,6 +111,9 @@ function cmd-on-enter { gs) CMD_ON_ENTER='ls';; esac + else + # Reset if other command is executed + CMD_ON_ENTER=ls fi zle accept-line