Update Fish prompt

This commit is contained in:
2026-07-08 07:28:32 +01:00
parent 49c82d2baf
commit 8fd2ef958f
2 changed files with 70 additions and 0 deletions
+9
View File
@@ -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