diff --git a/justfile b/justfile index 9a76305..933b6a0 100644 --- a/justfile +++ b/justfile @@ -1,2 +1,2 @@ switch: - darwin-rebuild switch --flake . + darwin-rebuild switch --flake . --show-trace diff --git a/programs/fish.nix b/programs/fish.nix index abcda88..6ce46e8 100644 --- a/programs/fish.nix +++ b/programs/fish.nix @@ -6,6 +6,17 @@ in { programs.fish = { enable = true; inherit shellAbbrs shellAliases; + functions = { + take = '' + set dir $argv[1] + if [ -z "$dir" ] + echo "QHAR?!?!?!" + return 1 + end + mkdir "$dir" + cd "$dir" + ''; + }; }; home.file.".config/fish/conf.d" = {