mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 05:13:10 +00:00
Switch classic + git prompt to all vcsen -> Rename it to Classic + Vcs
Keep the variable names for now.
This commit is contained in:
parent
43c7ababf9
commit
e29d200ba5
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
# name: Classic + Git
|
# name: Classic + Vcs
|
||||||
# author: Kevin Ballard
|
# author: Kevin Ballard
|
||||||
# vim: set noet:
|
# vim: set noet:
|
||||||
|
|
||||||
|
@ -69,5 +69,5 @@ function fish_prompt --description 'Write out the prompt'
|
||||||
set prompt_status ' ' (set_color $fish_color_status) "[$last_status]" "$normal"
|
set prompt_status ' ' (set_color $fish_color_status) "[$last_status]" "$normal"
|
||||||
end
|
end
|
||||||
|
|
||||||
echo -n -s (set_color $fish_color_user) "$USER" $normal @ (set_color $fish_color_host) "$__fish_prompt_hostname" $normal ' ' (set_color $color_cwd) (prompt_pwd) $normal (__fish_git_prompt) $normal $prompt_status "> "
|
echo -n -s (set_color $fish_color_user) "$USER" $normal @ (set_color $fish_color_host) "$__fish_prompt_hostname" $normal ' ' (set_color $color_cwd) (prompt_pwd) $normal (__fish_vcs_prompt) $normal $prompt_status "> "
|
||||||
end
|
end
|
Loading…
Reference in a new issue