zsh: remove unfunction on TERM=dumb
Unfortunately this gives an error when precmd or preexec exists. Removing to avoid that.
This commit is contained in:
parent
4d739ce93d
commit
4081bec5ac
@ -214,7 +214,6 @@ in
|
|||||||
# Need to disable features to support TRAMP
|
# Need to disable features to support TRAMP
|
||||||
if [ "$TERM" = dumb ]; then
|
if [ "$TERM" = dumb ]; then
|
||||||
unsetopt zle prompt_cr prompt_subst
|
unsetopt zle prompt_cr prompt_subst
|
||||||
unfunction precmd preexec
|
|
||||||
unset RPS1 RPROMPT
|
unset RPS1 RPROMPT
|
||||||
PS1='$ '
|
PS1='$ '
|
||||||
PROMPT='$ '
|
PROMPT='$ '
|
||||||
|
Loading…
x
Reference in New Issue
Block a user