mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-05-01 04:30:37 +02:00
fix ssh prompt
This commit is contained in:
parent
b03027b74e
commit
32f3b4cb50
1 changed files with 1 additions and 1 deletions
|
|
@ -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 {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue