From 364cbe67ae5f64cadb6a45b2d7e3ecf4b53cae11 Mon Sep 17 00:00:00 2001 From: Malfurious Date: Wed, 10 Nov 2021 12:55:53 -0500 Subject: 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. --- .config/fish/functions/fish_prompt.fish | 3 +-- 1 file changed, 1 insertion(+), 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 -- cgit v1.2.3