Add zle reset-prompt commands to each shortcut plugin

This commit is contained in:
Eric Torres 2019-03-01 16:28:05 -08:00
parent 13257f07e6
commit aaea526054
2 changed files with 3 additions and 0 deletions

View File

@ -4,10 +4,12 @@
# ========== Shortcuts ========== # ========== Shortcuts ==========
_fedit() { _fedit() {
/usr/bin/fedit /usr/bin/fedit
zle reset-prompt
} }
_etcedit() { _etcedit() {
/usr/bin/fedit --etc /usr/bin/fedit --etc
zle reset-prompt
} }
zle -N fedit zle -N fedit

View File

@ -3,6 +3,7 @@
# ========== Shortcuts ========== # ========== Shortcuts ==========
fless() { fless() {
/usr/bin/fless /usr/bin/fless
zle reset-prompt
} }
zle -N fless zle -N fless