From 7eb4f530a1537500db4eb3563cbc506b22fbacb4 Mon Sep 17 00:00:00 2001 From: Orien Vandenbergh Date: Fri, 4 Sep 2020 13:12:11 -0400 Subject: [PATCH] Add ubuntu zplug support --- zsh/zshrc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/zsh/zshrc b/zsh/zshrc index 11a09a2..35f017a 100644 --- a/zsh/zshrc +++ b/zsh/zshrc @@ -1,4 +1,4 @@ -PATH=$PATH:${HOME}/bin +PATH=$PATH:${HOME}/bin:${HOME}/.local/bin HIST_STAMPS="yyyy-mm-dd" export HISTORY_IGNORE="(ls|cd|cd -|pwd|exit|date|.* --help)" @@ -9,6 +9,9 @@ export ZSH_TMUX_AUTOSTART=true if [ -e ${HOME}/.zplug/init.zsh ]; then # For local manual installs source ~/.zplug/init.zsh +elif [ -e /usr/share/zplug/init.zsh ]; then + # For system-wide installs + source /usr/share/zplug/init.zsh elif [ -e /usr/local/opt/zplug/init.zsh ]; then # For homebrew MacOSX export ZPLUG_HOME=/usr/local/opt/zplug