Add fish functions
This commit is contained in:
parent
b2a8f9857a
commit
46e6a2d46a
9 changed files with 65 additions and 0 deletions
7
fish/functions/fish_prompt.fish
Normal file
7
fish/functions/fish_prompt.fish
Normal file
|
@ -0,0 +1,7 @@
|
|||
set -l nix_shell_info (
|
||||
if test -n "$IN_NIX_SHELL"
|
||||
echo -n "<nix-shell> "
|
||||
end
|
||||
)
|
||||
|
||||
echo -n -s "$nix_shell_info ~>"
|
Loading…
Add table
Add a link
Reference in a new issue