env: set NIX_BUILD_SHELL environment variable

This commit is contained in:
PowerUser64 2022-10-18 02:55:41 -07:00
parent 89c6794135
commit ca8a87aca2

View file

@ -9,6 +9,7 @@ if ! [ -d "$SHELL_CONFIG_DIR" ]; then
fi
if [ -z "$PROFILE_LOADED" ] && [ -f ~/.profile ]; then
# shellcheck source=/home/blake/.profile
. ~/.profile
fi
@ -26,6 +27,9 @@ export VISUAL="$EDITOR"
# Add local bin path and shell bin path to PATH
export PATH="$PATH:${XDG_DATA_HOME:-$HOME/.local}/bin:$SHELL_CONFIG_DIR/bin"
# Shell to use for commands like `nix-shell -p`
export NIX_BUILD_SHELL=zsh
# Basic default LS colors
export LSCOLORS="Gxfxcxdxbxegedabagacad"