From aaea526054cb8956f8f02db630182fd52b2ecdfc Mon Sep 17 00:00:00 2001 From: Eric Torres Date: Fri, 1 Mar 2019 16:28:05 -0800 Subject: [PATCH] Add zle reset-prompt commands to each shortcut plugin --- zsh/_fedit | 2 ++ zsh/_fless | 1 + 2 files changed, 3 insertions(+) diff --git a/zsh/_fedit b/zsh/_fedit index a38efb3..76d8768 100644 --- a/zsh/_fedit +++ b/zsh/_fedit @@ -4,10 +4,12 @@ # ========== Shortcuts ========== _fedit() { /usr/bin/fedit + zle reset-prompt } _etcedit() { /usr/bin/fedit --etc + zle reset-prompt } zle -N fedit diff --git a/zsh/_fless b/zsh/_fless index 4a80eb3..10b8cab 100644 --- a/zsh/_fless +++ b/zsh/_fless @@ -3,6 +3,7 @@ # ========== Shortcuts ========== fless() { /usr/bin/fless + zle reset-prompt } zle -N fless