added new prompt updates
This commit is contained in:
@ -15,13 +15,13 @@ function fish_prompt
|
||||
set -l branch (git::branch_name ^/dev/null)
|
||||
set -l ref (git show-ref --head --abbrev | awk '{print substr($0,0,7)}' | sed -n 1p)
|
||||
|
||||
printf '%s ' \U1F6E0
|
||||
echo -n -s (red)"("(off)
|
||||
|
||||
if git::is_stashed
|
||||
echo -n -s (white)"^"(off)
|
||||
end
|
||||
|
||||
printf '%s ' \U1F6E0
|
||||
echo -n -s (red)"("(off)
|
||||
|
||||
if git::is_dirty
|
||||
printf (white)"*"(off)
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user