From e3f1a5feeaed0ae0376e002d0763c4977f454494 Mon Sep 17 00:00:00 2001 From: Tom Willemse Date: Mon, 25 Jul 2016 22:21:55 +0200 Subject: Set environment variables in .profile, not .zshrc More programs read .profile than .zshrc, so settings set in it are available in more programs. --- zsh/.profile | 5 +++++ zsh/.zshrc | 5 ----- 2 files changed, 5 insertions(+), 5 deletions(-) create mode 100644 zsh/.profile (limited to 'zsh') 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 -- cgit v1.2.3-54-g00ecf