diff options
author | Malfurious <m@lfurio.us> | 2021-11-10 12:55:53 -0500 |
---|---|---|
committer | Malfurious <m@lfurio.us> | 2021-11-10 12:55:53 -0500 |
commit | 364cbe67ae5f64cadb6a45b2d7e3ecf4b53cae11 (patch) | |
tree | a0b725773b36306db38eb74ad5a4bfaa19728f00 | |
parent | bc66886e5d9ac1b9ad938dd74630b66d7283b64f (diff) | |
download | rice-364cbe67ae5f64cadb6a45b2d7e3ecf4b53cae11.tar.gz rice-364cbe67ae5f64cadb6a45b2d7e3ecf4b53cae11.zip |
fish: Update git-sonar prompt
Script is now expected to be in the $PATH (as the Makefile installs it
there) and the new short option for fetch is used instead of --fetch.
-rw-r--r-- | .config/fish/functions/fish_prompt.fish | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/.config/fish/functions/fish_prompt.fish b/.config/fish/functions/fish_prompt.fish index e03b391..762a448 100644 --- a/.config/fish/functions/fish_prompt.fish +++ b/.config/fish/functions/fish_prompt.fish @@ -17,7 +17,6 @@ function fish_prompt --description 'Write out the prompt' set color_host $fish_color_host_remote end - # TODO: git-sonar will eventually be located in the $PATH echo -n -s (set_color $fish_color_user) "$USER" $normal @ (set_color $color_host) (prompt_hostname) $normal ' ' \ - (set_color $color_cwd) (prompt_pwd) $normal (~/rice/submodules/git-sonar/git-sonar --fish --fetch) $normal " " $suffix " " + (set_color $color_cwd) (prompt_pwd) $normal (git-sonar -f) $normal " " $suffix " " end |