diff --git a/.config/shell/env b/.config/shell/env index 015da1f..baef1bf 100644 --- a/.config/shell/env +++ b/.config/shell/env @@ -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