This commit is contained in:
Nikos Papadakis 2023-10-02 13:58:02 +03:00
parent 0e8da32f50
commit 92d502d1ac
Signed by untrusted user who does not match committer: nikos
GPG key ID: 78871F9905ADFF02

View file

@ -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