recognize dump terminal and disable fancy prompt string etc
This commit is contained in:
parent
0c97979a78
commit
71466d09eb
1 changed files with 1 additions and 1 deletions
|
|
@ -5,7 +5,7 @@ git clone --recursive https://github.com/changs/slimzsh.git ~/.slimzsh
|
||||||
cat <<EOF > $HOME/.zshrc
|
cat <<EOF > $HOME/.zshrc
|
||||||
HISTSIZE=10000
|
HISTSIZE=10000
|
||||||
SAVEHIST=10000
|
SAVEHIST=10000
|
||||||
|
[[ $TERM == "dumb" ]] && unsetopt zle && PS1='$ ' && return
|
||||||
zstyle ':prompt:pure:user:root' color red
|
zstyle ':prompt:pure:user:root' color red
|
||||||
zstyle ':prompt:pure:host' color cyan
|
zstyle ':prompt:pure:host' color cyan
|
||||||
source "$HOME/.slimzsh/slim.zsh"
|
source "$HOME/.slimzsh/slim.zsh"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue