ssh emoji added
This commit is contained in:
parent
a7cc64dc73
commit
741352342e
Binary file not shown.
@ -18,13 +18,18 @@ function preexec() {
|
||||
function precmd() {
|
||||
if [ $timer ]; then
|
||||
timer_show=$(($SECONDS - $timer))
|
||||
export RPROMPT="%F{cyan}${timer_show}s %{$reset_color%}"
|
||||
export RPROMPT="%F{green}${timer_show}s %{$reset_color%}"
|
||||
unset timer
|
||||
fi
|
||||
}
|
||||
|
||||
ssh=""
|
||||
if [[ -n $SSH_CONNECTION ]]; then
|
||||
ssh="🌐"
|
||||
fi
|
||||
|
||||
PROMPT='
|
||||
%{$fg_bold[green]%}%~%{$reset_color%}$(git_prompt_info)$(virtualenv_prompt_info) ⌚ %{$fg_bold[red]%}%*%{$reset_color%}
|
||||
$(ssh)%{$fg_bold[green]%}%~%{$reset_color%}$(git_prompt_info)$(virtualenv_prompt_info) ⌚ %{$fg_bold[red]%}%*%{$reset_color%}
|
||||
$ '
|
||||
|
||||
# RPROMPT='$(ruby_prompt_info)'
|
||||
|
Loading…
x
Reference in New Issue
Block a user