Add zle reset-prompt commands to each shortcut plugin
This commit is contained in:
parent
13257f07e6
commit
aaea526054
@ -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
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
# ========== Shortcuts ==========
|
# ========== Shortcuts ==========
|
||||||
fless() {
|
fless() {
|
||||||
/usr/bin/fless
|
/usr/bin/fless
|
||||||
|
zle reset-prompt
|
||||||
}
|
}
|
||||||
|
|
||||||
zle -N fless
|
zle -N fless
|
||||||
|
Loading…
x
Reference in New Issue
Block a user