From ca8a87aca2d682b6731da7b0c3c700c26a46bdcb Mon Sep 17 00:00:00 2001 From: PowerUser64 Date: Tue, 18 Oct 2022 02:55:41 -0700 Subject: [PATCH] env: set NIX_BUILD_SHELL environment variable --- .config/shell/env | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/.config/shell/env b/.config/shell/env index c4e207a..e4256ab 100644 --- a/.config/shell/env +++ b/.config/shell/env @@ -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"