1
0
Fork 0
mirror of https://github.com/Phantop/dotfiles synced 2024-12-24 22:26:43 +00:00

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

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