We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 1965ab7 + c51b415 commit adf279aCopy full SHA for adf279a
zshrc
@@ -55,12 +55,13 @@ PATH=/home/jgilmore/bin:/usr/local/bin:/usr/bin:/bin:/usr/X11R6/bin:/usr/games:/
55
56
local head
57
#If using ssh, set machine name to red.
58
-if [ -n "$SSH_TTY" ]; then
59
- head="%n@%{%$fg_bold[red]%}%m%{$reset_color%}"
+set
+if [ "$SSH_TTY" ]; then
60
+ head="%n@%{$fg_bold[red]%}%m%{$reset_color%}"
61
else
62
head='%n@%m'
63
fi
- PROMPT="%n@%m%3~%(?.%{$fg[green]%}:%).%{$fg[red]%} %? :()%{$reset_color%}%#"
64
+ PROMPT="$head%3~%(?.%{$fg[green]%}:%).%{$fg[red]%} %? :()%{$reset_color%}%#"
65
66
case $TERM in
67
xterm*)
0 commit comments