From cab26c6a74920f3f0b78fa86dba41b811eb6027f 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..9809cd6 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 else if test $argv[1] = build command nom $argv else