Permalink
Browse files

Add separate environment variables file

  • Loading branch information...
1 parent bb4638a commit 86e33cbd627d47dfccce6b9ede82d100e73c6d85 @StephenBrown2 committed Mar 4, 2013
Showing with 12 additions and 6 deletions.
  1. +4 −5 bash_profile
  2. +2 −0 sh_env_vars
  3. +6 −1 zshrc
View
@@ -8,8 +8,7 @@ if [ -f ~/.bashrc ]; then
source ~/.bashrc
fi
-# User specific environment and startup programs
-
-PATH=$PATH:$HOME/bin
-
-export PATH
+# Source environment variables
+if [ -f ~/.sh_env_vars ]; then
+ source ~/.sh_env_vars
+fi
View
@@ -0,0 +1,2 @@
+export PATH=$PATH:$HOME/bin
+export TIME_STYLE=long-iso
View
7 zshrc
@@ -41,7 +41,12 @@ if [ -f ~/.zsh_aliases ]; then
source ~/.zsh_aliases
fi
+# Source environment variables
+if [ -f ~/.sh_env_vars ]; then
+ source ~/.sh_env_vars
+fi
+
# Source zsh specific prompt
if [ -f ~/.zsh_prompt ]; then
- source ~/.zsh_prompt
+ source ~/.zsh_prompt
fi

0 comments on commit 86e33cb

Please sign in to comment.