Add support for dumb terminals in bash and zsh.
This commit is contained in:
parent
6d752111ec
commit
9029d9c56f
@ -68,3 +68,9 @@ function set_bash_prompt() {
|
|||||||
export PROMPT_COMMAND=set_bash_prompt
|
export PROMPT_COMMAND=set_bash_prompt
|
||||||
|
|
||||||
PS2='(%_) '
|
PS2='(%_) '
|
||||||
|
|
||||||
|
case "$TERM" in
|
||||||
|
dumb)
|
||||||
|
export PS1='> '
|
||||||
|
;;
|
||||||
|
esac
|
||||||
|
Loading…
Reference in New Issue
Block a user