summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorDaiderd Jordan <daiderd@gmail.com>2016-12-10 15:22:07 +0100
committerDaiderd Jordan <daiderd@gmail.com>2016-12-10 15:22:07 +0100
commitdae0095a4e734cdee9550a22676c7e97773acdb3 (patch)
treea59ea28ec954485bc09f1251f17ce1d9a425943a /modules
parentf8df0090b6d82d5416865247fecd708a93c78834 (diff)
fix zsh path in nix aliasd
Diffstat (limited to 'modules')
-rw-r--r--modules/examples/lnl.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/examples/lnl.nix b/modules/examples/lnl.nix
index 8a3729f..3db37bf 100644
--- a/modules/examples/lnl.nix
+++ b/modules/examples/lnl.nix
@@ -82,8 +82,8 @@ let
'i'|'instantiate') nix-instantiate -E "with import <nixpkgs> {}; $@" ;;
'r'|'repl') nix-repl '<nixpkgs>' ;;
's'|'shell') nix-shell -E "with import <nixpkgs> {}; $@" ;;
- 'p'|'package') nix-shell '<nixpkgs>' -p "$@" --run ${pkgs.lnl.zsh} ;;
- 'z'|'zsh') nix-shell '<nixpkgs>' -E "with import <nixpkgs> {}; $@" --run ${pkgs.lnl.zsh} ;;
+ 'p'|'package') nix-shell '<nixpkgs>' -p "with import <nixpkgs> {}; $@" --run ${pkgs.lnl.zsh}/bin/zsh ;;
+ 'z'|'zsh') nix-shell '<nixpkgs>' -E "with import <nixpkgs> {}; $@" --run ${pkgs.lnl.zsh}/bin/zsh ;;
esac
}