Add username@hostname back to PS1
This commit is contained in:
2
.zshrc
2
.zshrc
@@ -26,7 +26,7 @@ export GIT_PS1_SHOWSTASHSTATE=1
|
|||||||
export GIT_PS1_SHOWUPSTREAM="auto"
|
export GIT_PS1_SHOWUPSTREAM="auto"
|
||||||
export GIT_PS1_SHOWCOLORHINTS=1
|
export GIT_PS1_SHOWCOLORHINTS=1
|
||||||
|
|
||||||
PS1=$'\n╭%{$fg[yellow]%}$(__git_ps1 "(%s)")%{$fg[green]%}[%~]%{$reset_color%}\n╰%# '
|
PS1=$'\n╭%{$fg[yellow]%}$(__git_ps1 "(%s)")%{$fg[green]%}[%~]%{$reset_color%}\n╰%{$fg[cyan]%}%n%{$fg[yellow]%}@%{%F{214}%}%m%f%{$reset_color%}%# '
|
||||||
|
|
||||||
# set window title to working directory
|
# set window title to working directory
|
||||||
precmd () { print -Pn "\e]0;%~\a" }
|
precmd () { print -Pn "\e]0;%~\a" }
|
||||||
|
|||||||
Reference in New Issue
Block a user