mirror of
https://github.com/LnL7/nix-darwin.git
synced 2024-09-11 12:49:18 +03:00
Adjusted zsh test for setEnvironment
This commit is contained in:
parent
fedd0515c9
commit
c0f189a667
@ -20,13 +20,13 @@
|
||||
echo >&2 "checking for share/zsh in /sw"
|
||||
test -e ${config.out}/sw/share/zsh
|
||||
|
||||
echo >&2 "checking setEnvironment in /etc/zshenv"
|
||||
fgrep '. ${config.system.build.setEnvironment}' ${config.out}/etc/zshenv
|
||||
echo >&2 "checking nix-shell return /etc/zshenv"
|
||||
grep 'if test -n "$IN_NIX_SHELL"; then return; fi' ${config.out}/etc/zshenv
|
||||
echo >&2 "checking zshenv.d in /etc/zshenv"
|
||||
grep 'source /etc/zshenv.d/\*.conf' ${config.out}/etc/zshenv
|
||||
|
||||
echo >&2 "checking setEnvironment in /etc/zshrc"
|
||||
fgrep '. ${config.system.build.setEnvironment}' ${config.out}/etc/zshrc
|
||||
echo >&2 "checking environment.d in /etc/zshrc"
|
||||
grep 'source /etc/environment.d/\*.conf' ${config.out}/etc/zshrc
|
||||
echo >&2 "checking zshrc.d in /etc/zshrc"
|
||||
|
Loading…
Reference in New Issue
Block a user