mirror of
https://github.com/fish-shell/fish-shell.git
synced 2026-05-24 14:01:15 -03:00
sample_prompts/sorin: Correct git_action function name
We renamed this, and apparently missed it. [ci skip]
This commit is contained in:
@@ -41,7 +41,7 @@ function fish_right_prompt
|
||||
# Get the current action ("merge", "rebase", etc.)
|
||||
# and if there's one get the current commit hash too.
|
||||
set -l commit ''
|
||||
if set -l action (__fish_git_action "$git_dir")
|
||||
if set -l action (fish_print_git_action "$git_dir")
|
||||
set commit (command git rev-parse HEAD 2> /dev/null | string sub -l 7)
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user