From 003ea0119ae535f915b2ec4521e0d747f1d278e9 Mon Sep 17 00:00:00 2001 From: Salt Date: Wed, 16 Aug 2017 13:24:47 -0500 Subject: [PATCH] .zshrc: Source .profile if it exists --- .zshrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.zshrc b/.zshrc index 1f2bc25c..c8a5d9fc 100644 --- a/.zshrc +++ b/.zshrc @@ -2,6 +2,9 @@ if [[ -f "/etc/profile" ]]; then source /etc/profile 2>& /dev/null fi +if [[ -f "$HOME/.profile" ]]; then + source "$HOME/.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.