mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-02-13 03:01:32 +01:00
Updated remote conn
This commit is contained in:
parent
1f518ddf5e
commit
222d1f1ebc
1 changed files with 1 additions and 1 deletions
|
|
@ -4,7 +4,7 @@ local USER_HOST='%{$fg[magenta]%}%n%{$reset_color%} at %{$fg[yellow]%}%m%{$reset
|
|||
REMOTE_CONN=''
|
||||
|
||||
if [ -n "$SSH_CLIENT" ] || [ -n "$SSH_TTY" ]; then
|
||||
REMOTE_CONN='%{$fg[magenta]%}✭%{$reset_color%} '
|
||||
REMOTE_CONN="%{$fg[magenta]%}✭%{$reset_color%} "
|
||||
fi
|
||||
|
||||
PROMPT='[${REMOTE_CONN}%{$fg_bold[yellow]%}%n@%m%{$reset_color%}%{$fg_bold[green]%} ${PWD/#$HOME/~}%{$reset_color%}$(git_prompt_info)%{$reset_color%}]%{$fg_bold[green]%}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue