mirror of
https://github.com/Phantop/dotfiles
synced 2024-12-24 14:16:49 +00:00
Bin: fix addpath to not remote existing PATH
This commit is contained in:
parent
5f0c9373db
commit
3d08b83027
|
@ -1,2 +1,2 @@
|
|||
#!/bin/bash
|
||||
[[ "$#" -ge 1 ]] && export PATH=$@:$PATH || export PATH=$@:$PWD
|
||||
[[ "$#" -ge 1 ]] && export PATH=$@:$PATH || export PATH=$PWD:$PATH
|
||||
|
|
Loading…
Reference in a new issue