only set NIX_BUILD_SHELL if using zsh
This commit is contained in:
parent
cb5b60c5e7
commit
7caf7d7baf
1 changed files with 4 additions and 2 deletions
|
@ -32,8 +32,10 @@ doom_bin_dir="${XDG_DATA_HOME:-$HOME/.config}/emacs/bin"
|
|||
if [ -d "$doom_bin_dir" ]; then export PATH="$PATH:$doom_bin_dir"; fi
|
||||
unset doom_bin_dir
|
||||
|
||||
# Shell to use for commands like `nix-shell -p`
|
||||
export NIX_BUILD_SHELL=zsh
|
||||
# Shell to use for commands like `nix-shell -p` (use zsh if using zsh)
|
||||
if test -n "${ZSH_VERSION:-}"; then
|
||||
export NIX_BUILD_SHELL=zsh
|
||||
fi
|
||||
|
||||
# Basic default LS colors
|
||||
export LSCOLORS="Gxfxcxdxbxegedabagacad"
|
||||
|
|
Loading…
Add table
Reference in a new issue