Update Fish prompt
This commit is contained in:
@@ -1,5 +1,14 @@
|
||||
set -gx fish_greeting
|
||||
|
||||
function nix
|
||||
if test "$argv[1]" = "develop"
|
||||
command nix develop -c fish $argv[2..-1]
|
||||
else if test "$argv[1]" = "shell"
|
||||
env IN_NIX_SHELL=shell command nix $argv
|
||||
else
|
||||
command nix $argv
|
||||
end
|
||||
end
|
||||
function a
|
||||
for arg in $argv
|
||||
if string match -q '*/' $arg
|
||||
|
||||
Reference in New Issue
Block a user