envs: conditional adding to path

pull/1/head
earnest ma 2022-01-09 17:40:44 +00:00
parent 1806d60dd5
commit 4f5431f90c
Signed by: earnest ma
GPG Key ID: A343F43342EB6E2A
1 changed files with 5 additions and 1 deletions

View File

@ -17,11 +17,15 @@ pathadd_tail() {
export EDITOR=nvim
pathadd_tail '/envs/bin'
pathadd_head "$HOME/.local/bin"
pathadd_head '/tmp/bin'
pathadd_head "$HOME/.config/emacs/bin"
if [[ $HOST == "core.envs.net" ]]; then
pathadd_tail '/envs/bin'
pathadd_head "$HOME/public_html/files/bin"
fi
# Preferences
export CALIBRE_USE_SYSTEM_THEME=0
export CALIBRE_USE_DARK_PALETTE=1