From f534b5ac63c8f27b1f8258d05d8c631fd14f528d Mon Sep 17 00:00:00 2001 From: Johannes Löthberg Date: Wed, 5 Oct 2016 11:07:07 +0200 Subject: zprofile: Set $path instead of $PATH MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Johannes Löthberg --- zsh/.zprofile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'zsh') diff --git a/zsh/.zprofile b/zsh/.zprofile index 4229906..ddf58ab 100644 --- a/zsh/.zprofile +++ b/zsh/.zprofile @@ -1,4 +1,7 @@ -export PATH="$HOME"/.local/bin:"$HOME"/.gem/ruby/2.1.0/bin:"$PATH" +path=( "$HOME"/.local/bin + "$HOME"/bin + "$HOME"/.gem/ruby/2.1.0/bin + "${path[@]}" ) # Set XDG Basedir Spec paths export XDG_CACHE_HOME="$HOME"/.cache -- cgit v1.2.3-54-g00ecf