mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-26 02:12:33 +01:00
Fixed bug: The prompt was too large
This commit is contained in:
parent
5b8303ece7
commit
2044a50523
1 changed files with 4 additions and 4 deletions
|
|
@ -33,7 +33,7 @@ ZSH_THEME_GIT_PROMPT_SHA_AFTER="%{$reset_color%}]"
|
||||||
|
|
||||||
local username="%{$fg_bold[green]%}%n%{$reset_color%}"
|
local username="%{$fg_bold[green]%}%n%{$reset_color%}"
|
||||||
local hostname="%{$fg_bold[magenta]%}%m%{$reset_color%}"
|
local hostname="%{$fg_bold[magenta]%}%m%{$reset_color%}"
|
||||||
local current_dir="$fg_bold[blue]%}%~%{$reset_color%}"
|
local current_dir="%{$fg_bold[blue]%}%~%{$reset_color%}"
|
||||||
|
|
||||||
# Left prompt: username@hostname:current_directory%
|
# Left prompt: username@hostname:current_directory%
|
||||||
PROMPT='$username@$hostname:$current_dir%# '
|
PROMPT='$username@$hostname:$current_dir%# '
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue