aboutsummaryrefslogtreecommitdiffstats
path: root/zsh
diff options
context:
space:
mode:
authorGravatar Tom Willemse2016-07-25 22:21:55 +0200
committerGravatar Tom Willemse2016-07-25 22:21:55 +0200
commite3f1a5feeaed0ae0376e002d0763c4977f454494 (patch)
tree019965d78286ad816b1f87d80197716dcc65edf7 /zsh
parentff5f8bf69faf49a9ba1dcfad392ecaab61c70d54 (diff)
downloadnew-dotfiles-e3f1a5feeaed0ae0376e002d0763c4977f454494.tar.gz
new-dotfiles-e3f1a5feeaed0ae0376e002d0763c4977f454494.zip
Set environment variables in .profile, not .zshrc
More programs read .profile than .zshrc, so settings set in it are available in more programs.
Diffstat (limited to 'zsh')
-rw-r--r--zsh/.profile5
-rw-r--r--zsh/.zshrc5
2 files changed, 5 insertions, 5 deletions
diff --git a/zsh/.profile b/zsh/.profile
new file mode 100644
index 0000000..fd9553f
--- /dev/null
+++ b/zsh/.profile
@@ -0,0 +1,5 @@
+## PATH:
+# Add "$HOME/usr/bin" to $PATH because that is where I keep all of my
+# personal utilities and helper commands.
+PATH="${HOME}/usr/bin:${PATH}"
+export PATH
diff --git a/zsh/.zshrc b/zsh/.zshrc
index fd9553f..e69de29 100644
--- a/zsh/.zshrc
+++ b/zsh/.zshrc
@@ -1,5 +0,0 @@
-## PATH:
-# Add "$HOME/usr/bin" to $PATH because that is where I keep all of my
-# personal utilities and helper commands.
-PATH="${HOME}/usr/bin:${PATH}"
-export PATH