This commit is contained in:
dxtr 2012-12-30 04:34:43 -08:00
commit 5244748af2
2 changed files with 5 additions and 1 deletions

View file

@ -48,7 +48,7 @@ if [[ ${_plugin__forwarding} == "yes" && -n "$SSH_AUTH_SOCK" ]]; then
elif [ -f "${_plugin__ssh_env}" ]; then
# Source SSH settings, if applicable
. ${_plugin__ssh_env} > /dev/null
ps -ef | grep ${SSH_AGENT_PID} | grep ssh-agent$ > /dev/null || {
ps ax | grep ${SSH_AGENT_PID} | grep ssh-agent$ > /dev/null || {
_plugin__start_agent;
}
else

View file

@ -0,0 +1,4 @@
PROMPT=$'%{\e[0;34m%}%B┌─[%b%{$fg[green]%}%n%{$reset_color%}@%{\e[0m%}%{$fg[blue]%}%m%{\e[0;34m%}%{$reset_color%}:%{$fg[yellow]%}%d%{\e[0;34m%}%B]%b%{\e[0;34m%}%B[%b%{$fg[red]%}$(git_prompt_info)%{\e[0;34m%}%B]%b%{\e[0m%}
%{\e[0;34m%}%B└─%B[%{\e[1;35m%}%#%{\e[0;34m%}%B]%b%{$reset_color%} '
RPROMPT=$' %{\e[0;34m%}%B[%b%T, %D{%a %d/%m-%Y}%{\e[0;34m%}%B]%b%{$reset_color%}'
PS2=$' \e[0;34m%}%B>%{\e[0m%}%b '