diff options
author | René 'Necoro' Neumann <necoro@necoro.net> | 2009-11-17 10:06:42 +0100 |
---|---|---|
committer | René 'Necoro' Neumann <necoro@necoro.net> | 2009-11-17 10:06:42 +0100 |
commit | 22299175197c40fa786bc36faa553826c1b41da4 (patch) | |
tree | 2f191ff8a41b1875dfd2e4a4f848b392739c35e2 /.zsh/zshrc | |
parent | f5a9de0deaef91f548e068405fa6a9190feadf81 (diff) | |
download | dotfiles-22299175197c40fa786bc36faa553826c1b41da4.tar.gz dotfiles-22299175197c40fa786bc36faa553826c1b41da4.tar.bz2 dotfiles-22299175197c40fa786bc36faa553826c1b41da4.zip |
Use a different prompt color when using SSH.
Diffstat (limited to '')
-rw-r--r-- | .zsh/zshrc | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -89,7 +89,12 @@ zstyle ":completion:*:default" list-colors ${(s.:.)LS_COLORS} # make filecomplet # Prompt {{{ ################################################# autoload -U promptinit -promptinit; prompt gentoo +promptinit + +local prompt_color="green red" +[[ -n "$SSH_CLIENT" ]] && prompt_color="yellow cyan" + +prompt gentoo blue ${=prompt_color} # remove RPROMPT when command finished setopt transient_rprompt |