diff --git a/.config/zsh/plugins/keys.zsh b/.config/zsh/plugins/keys.zsh index 286cf58..4df0623 100644 --- a/.config/zsh/plugins/keys.zsh +++ b/.config/zsh/plugins/keys.zsh @@ -70,10 +70,8 @@ bindkey . _expandDots function ls-on-enter { if [ -z "$BUFFER" ]; then - echo "ls" - ls - echo "\n" - zle redisplay + BUFFER=ls + zle accept-line else zle accept-line fi