mirror of
https://github.com/LnL7/nix-darwin.git
synced 2024-12-14 11:57:34 +00:00
fix zsh path in nix aliasd
This commit is contained in:
parent
f8df0090b6
commit
dae0095a4e
1 changed files with 2 additions and 2 deletions
|
@ -82,8 +82,8 @@ let
|
||||||
'i'|'instantiate') nix-instantiate -E "with import <nixpkgs> {}; $@" ;;
|
'i'|'instantiate') nix-instantiate -E "with import <nixpkgs> {}; $@" ;;
|
||||||
'r'|'repl') nix-repl '<nixpkgs>' ;;
|
'r'|'repl') nix-repl '<nixpkgs>' ;;
|
||||||
's'|'shell') nix-shell -E "with import <nixpkgs> {}; $@" ;;
|
's'|'shell') nix-shell -E "with import <nixpkgs> {}; $@" ;;
|
||||||
'p'|'package') nix-shell '<nixpkgs>' -p "$@" --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} ;;
|
'z'|'zsh') nix-shell '<nixpkgs>' -E "with import <nixpkgs> {}; $@" --run ${pkgs.lnl.zsh}/bin/zsh ;;
|
||||||
esac
|
esac
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue