From 3d08b8302777fe8a7d3cacdf0cefdc2338b18e59 Mon Sep 17 00:00:00 2001 From: Phantop Date: Tue, 13 Oct 2020 15:22:04 +0000 Subject: [PATCH] Bin: fix addpath to not remote existing PATH --- .local/bin/addpath | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.local/bin/addpath b/.local/bin/addpath index f5432e0..4d1616e 100755 --- a/.local/bin/addpath +++ b/.local/bin/addpath @@ -1,2 +1,2 @@ #!/bin/bash -[[ "$#" -ge 1 ]] && export PATH=$@:$PATH || export PATH=$@:$PWD +[[ "$#" -ge 1 ]] && export PATH=$@:$PATH || export PATH=$PWD:$PATH