From 4e840ce3b3f9d96744218fbe53ad856d215f16ea Mon Sep 17 00:00:00 2001 From: chayleaf Date: Wed, 25 Oct 2023 01:09:21 +0700 Subject: [PATCH] fish: fix nix develop alias --- home/common/fish.nix | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/home/common/fish.nix b/home/common/fish.nix index f7fa37d..4b8d8ce 100644 --- a/home/common/fish.nix +++ b/home/common/fish.nix @@ -60,8 +60,7 @@ set argv[1] fish ${pkgs.any-nix-shell}/bin/.any-nix-wrapper $argv else if test $argv[1] = develop - set argv[1] fish - command nix develop --command $argv + command nix $argv --command fish else command nix $argv end @@ -77,8 +76,7 @@ set argv[1] fish PATH="${nom-compat}/bin:$PATH" ${pkgs.any-nix-shell}/bin/.any-nix-wrapper $argv else if test $argv[1] = develop - set argv[1] fish - command nom develop --command $argv + command nom $argv --command fish else if test $argv[1] = build command nom $argv else