From ffc65678eada6b114f5847114878e93423b295f1 Mon Sep 17 00:00:00 2001 From: foxora Date: Sat, 14 Mar 2026 22:18:57 +0000 Subject: [PATCH] changed how my nd alias works --- homes/modules/shell/zsh.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/homes/modules/shell/zsh.nix b/homes/modules/shell/zsh.nix index a4758ec..add5626 100644 --- a/homes/modules/shell/zsh.nix +++ b/homes/modules/shell/zsh.nix @@ -56,7 +56,7 @@ # open nix develop with preferred shell # description: nd = nix develop - nd = "./flake.sh -c $SHELL || nix develop -c $SHELL"; + nd = "{ [[ -f ./flake.sh ]] && ./flake.sh -c $SHELL; } || nix develop -c $SHELL"; # description: cdns = change directory [to] nix settings cdns = "cd ~/.nix";