env: add doom emacs bin path

This commit is contained in:
PowerUser64 2023-06-28 21:58:40 -07:00
parent 545362d210
commit cb5b60c5e7

View file

@ -27,6 +27,11 @@ 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"
# Add doom emacs bin folder to path if it exists
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