zsh: add homebrew path on macos
This commit is contained in:
parent
989152c7bc
commit
660307a862
@ -1,4 +1,4 @@
|
|||||||
{ pkgs, ... }:
|
{ pkgs, lib, stdenv, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
home.packages = with pkgs; [ any-nix-shell ];
|
home.packages = with pkgs; [ any-nix-shell ];
|
||||||
@ -21,6 +21,8 @@
|
|||||||
|
|
||||||
any-nix-shell zsh --info-right | source /dev/stdin
|
any-nix-shell zsh --info-right | source /dev/stdin
|
||||||
source ${pkgs.nix-index}/etc/profile.d/command-not-found.sh
|
source ${pkgs.nix-index}/etc/profile.d/command-not-found.sh
|
||||||
|
'' + lib.optional (stdenv.isDarwin) ''
|
||||||
|
export PATH=$PATH:/opt/homebrew/bin
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user