From 4f5431f90c3bdcaebb020f8983e30a5029dd5543 Mon Sep 17 00:00:00 2001 From: earnest ma Date: Sun, 9 Jan 2022 17:40:44 +0000 Subject: [PATCH] envs: conditional adding to path --- zsh/.zprofile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/zsh/.zprofile b/zsh/.zprofile index 7fc675d..cc32a77 100644 --- a/zsh/.zprofile +++ b/zsh/.zprofile @@ -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