Add special non-nixos zsh loader

This commit is contained in:
Cyryl Płotnicki 2019-11-24 10:33:17 +00:00
parent b4e96cb2e8
commit 772dd74d1c

View file

@ -44,6 +44,13 @@
export PATH="$HOME/.cargo/bin:$PATH"; export PATH="$HOME/.cargo/bin:$PATH";
export PATH="$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$PATH"; export PATH="$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$PATH";
''; '';
envExtra = ''
if [[ -z `nixos-version` ]]; then
source /home/cyryl/.nix-profile/etc/profile.d/nix.sh
export NIX_PATH="$HOME/.nix-defexpr/channels:$NIX_PATH"
echo "non-nixos patches loaded"
fi
'';
sessionVariables = { sessionVariables = {
TERM="xterm-256color"; TERM="xterm-256color";
EDITOR="vim"; EDITOR="vim";