env: add doom emacs bin path
This commit is contained in:
parent
545362d210
commit
cb5b60c5e7
1 changed files with 5 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue