From d19ace489e2e0831f3f4c313ba338f3adaf2fddd Mon Sep 17 00:00:00 2001 From: Salt Date: Wed, 16 Aug 2017 01:53:55 -0500 Subject: [PATCH] .zshrc: Source /etc/profile if it exists --- .zshrc | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.zshrc b/.zshrc index 070ff23b..1f2bc25c 100644 --- a/.zshrc +++ b/.zshrc @@ -1,4 +1,7 @@ -export PATH=$HOME/.bin:$HOME/.local/bin:/usr/local/bin:$PATH +#export PATH=$HOME/.bin:$HOME/.local/bin:/usr/local/bin:$PATH +if [[ -f "/etc/profile" ]]; then + source /etc/profile 2>& /dev/null +fi export ZSH=/home/salt/.oh-my-zsh # Set name of the theme to load. Optionally, if you set this to "random" # it'll load a random theme each time that oh-my-zsh is loaded.