1
1
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:
Tristan Gosselin-Hane 2021-02-04 13:02:21 -05:00
parent fedd0515c9
commit c0f189a667
No known key found for this signature in database
GPG Key ID: 0B7E55B60DCA15D5

View File

@ -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"