mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-03-06 03:10:35 +01:00
[#3238] swapping out %~ for %1/ in a few themes to fix rvm_project_path issue
This commit is contained in:
parent
96e4e5dd03
commit
2f884811bb
15 changed files with 15 additions and 15 deletions
|
|
@ -11,7 +11,7 @@ else
|
|||
fi
|
||||
|
||||
# Get the host name (first 4 chars)
|
||||
HOST_PROMPT_="%{$fg_bold[red]%}@$HOST[0,4] ➜ %{$fg_bold[cyan]%}%c "
|
||||
HOST_PROMPT_="%{$fg_bold[red]%}@$HOST[0,4] ➜ %{$fg_bold[cyan]%}%1/ "
|
||||
GIT_PROMPT="%{$fg_bold[blue]%}\$(git_prompt_info)%{$fg_bold[blue]%} % %{$reset_color%}"
|
||||
PROMPT="$HOST_PROMPT_$RUBY_PROMPT_$GIT_PROMPT"
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue