mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-09 02:24:03 +01:00
Merge dc21f8d63e into 397c085a19
This commit is contained in:
commit
5244748af2
2 changed files with 5 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
4
themes/dxtr-repos.zsh-theme
Normal file
4
themes/dxtr-repos.zsh-theme
Normal 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 '
|
||||
Loading…
Add table
Add a link
Reference in a new issue