fish
This commit is contained in:
parent
0e8da32f50
commit
92d502d1ac
1 changed files with 6 additions and 1 deletions
|
@ -86,5 +86,10 @@ function fish_prompt
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
echo -n -s $arrow ' '$cwd $repo_info $normal ' '
|
set -l nix_info
|
||||||
|
if [ -n "$IN_NIX_SHELL" ]
|
||||||
|
set nix_info "$yellow (in nix shell)"
|
||||||
|
end
|
||||||
|
|
||||||
|
echo -n -s $arrow ' ' $cwd $nix_info $repo_info $normal ' '
|
||||||
end
|
end
|
||||||
|
|
Loading…
Reference in a new issue