From eab35022eb708ef440c73ca3297e333db9008109 Mon Sep 17 00:00:00 2001 From: Thomas Preisner Date: Tue, 10 Oct 2017 14:42:32 +0200 Subject: [PATCH] zsh: exports: extend PATH variable --- zsh/exports.zsh | 4 ++++ zshrc | 1 + 2 files changed, 5 insertions(+) create mode 100644 zsh/exports.zsh diff --git a/zsh/exports.zsh b/zsh/exports.zsh new file mode 100644 index 0000000..504a712 --- /dev/null +++ b/zsh/exports.zsh @@ -0,0 +1,4 @@ +# extend PATH variable +if [ -d "$HOME/bin" ]; then + export PATH="$HOME/bin:$PATH" +fi diff --git a/zshrc b/zshrc index 25a55ff..5152c38 100644 --- a/zshrc +++ b/zshrc @@ -6,3 +6,4 @@ source ~/.zsh/prompt.zsh source ~/.zsh/completion.zsh source ~/.zsh/history.zsh source ~/.zsh/aliases.zsh +source ~/.zsh/exports.zsh