diff options
author | Hugues Hiegel <hugues.hiegel@anevia.com> | 2015-06-18 17:27:27 +0200 |
---|---|---|
committer | Hugues Hiegel <hugues.hiegel@anevia.com> | 2015-06-18 17:27:27 +0200 |
commit | e254a7c87ff4145f83ecacc98f8e4256b404b088 (patch) | |
tree | bfc58fdce68abb35bfa76ad2232c19d7f4093e22 /12_Prompts.zsh | |
parent | c3f881565bce9b145937b63d6b0e9fa027c581ed (diff) | |
parent | 459669b7cc58abf3958e16d2df7998c1cad8e02d (diff) |
Merge remote-tracking branch 'origin/master'
Conflicts:
01_Internal.zsh
Diffstat (limited to '12_Prompts.zsh')
-rw-r--r-- | 12_Prompts.zsh | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/12_Prompts.zsh b/12_Prompts.zsh index 37adec5..61db556 100644 --- a/12_Prompts.zsh +++ b/12_Prompts.zsh @@ -329,7 +329,8 @@ __two_lines_prompt () PS1_+=$(__show_date) PS1_+=" -"$C_$_prompt_colors[user]$_C"${USER:-%n}"$C_$_prompt_colors[arob]$_C"@"$C_$_prompt_colors[host]$_C"%M${SSH_CLIENT:+ ← $(host ${SSH_CLIENT/ */} | awk '{ gsub(/\.$/, "", $NF); gsub(/.'$DOMAIN'$/, "", $NF); print $NF }')} "$CURDIR${VCSBRANCH:+ $VCSBRANCH} +"$C_$_prompt_colors[user]$_C"${USER:-%n}"$C_$_prompt_colors[arob]$_C"@"$C_$_prompt_colors[host]$_C"%M${SSH_CLIENT:+ ← $(host ${SSH_CLIENT/ */} | awk '/not found/ { print "'${SSH_CLIENT/ */}'" ; exit } { gsub(/\.$/, "", $NF); gsub(/.'$DOMAIN'$/, "", $NF); print $NF }')} "$CURDIR${VCSBRANCH:+ $VCSBRANCH} + __debug "-----------------> extra..." PS1_+=$(__ps1_extrainfo) __debug "-----------------> PS1..." |