fix ssh prompt

This commit is contained in:
Adam Ransom 2013-09-02 13:40:18 +09:00
commit 32f3b4cb50

View file

@ -5,7 +5,7 @@ function _prompt_char() {
} }
function _ssh_prompt() { function _ssh_prompt() {
[[ -n "${SSH_CONNECTION}" ]] && "%{$fg_bold[green]%}%n%{$fg_bold[blue]%}@%{$fg_bold[cyan]%}%m%{$fg_bold[green]%}" [[ -n "${SSH_CONNECTION}" ]] && echo "%{$fg_bold[green]%}%n@%m%{$reset_color%} "
} }
function _collapse_pwd { function _collapse_pwd {