Set INSIDE_EMACS when TERM looks like emacs
This commit is contained in:
parent
a27a1adc89
commit
3d00ceff12
1 changed files with 1 additions and 0 deletions
|
|
@ -6,6 +6,7 @@ cat <<EOF > $HOME/.zshrc
|
|||
HISTSIZE=10000
|
||||
SAVEHIST=10000
|
||||
[[ \$TERM == "dumb" ]] && unsetopt zle && PS1='$ ' && return
|
||||
[[ \$TERM =~ "eterm" ]] && INSIDE_EMACS=yes
|
||||
zstyle ':prompt:pure:user:root' color red
|
||||
zstyle ':prompt:pure:host' color cyan
|
||||
source "$HOME/.slimzsh/slim.zsh"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue