Bin: fix addpath to not remote existing PATH

This commit is contained in:
Phantop 2020-10-13 15:22:04 +00:00 committed by GitHub
parent 5f0c9373db
commit 3d08b83027
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1,2 +1,2 @@
#!/bin/bash
[[ "$#" -ge 1 ]] && export PATH=$@:$PATH || export PATH=$@:$PWD
[[ "$#" -ge 1 ]] && export PATH=$@:$PATH || export PATH=$PWD:$PATH