mirror of
https://github.com/fish-shell/fish-shell.git
synced 2024-11-23 19:17:39 +08:00
Make informative_git prompt use vcs_prompt -> Rename it to "Informative Vcs"
This commit is contained in:
parent
e29d200ba5
commit
482cfca84f
|
@ -1,4 +1,4 @@
|
||||||
# name: Informative Git Prompt
|
# name: Informative Vcs
|
||||||
# author: Mariusz Smykula <mariuszs at gmail.com>
|
# author: Mariusz Smykula <mariuszs at gmail.com>
|
||||||
|
|
||||||
|
|
||||||
|
@ -85,7 +85,7 @@ function fish_prompt --description 'Write out the prompt'
|
||||||
echo -n (prompt_pwd)
|
echo -n (prompt_pwd)
|
||||||
set_color normal
|
set_color normal
|
||||||
|
|
||||||
printf '%s ' (__fish_git_prompt)
|
printf '%s ' (__fish_vcs_prompt)
|
||||||
|
|
||||||
if not test $last_status -eq 0
|
if not test $last_status -eq 0
|
||||||
set_color $fish_color_error
|
set_color $fish_color_error
|
Loading…
Reference in New Issue
Block a user