From 9f4231fece7f7cc055754a58c89228ad862c43d8 Mon Sep 17 00:00:00 2001 From: Nathan Wagner Date: Fri, 3 Aug 2018 23:41:45 +0000 Subject: [PATCH] prepend paths given by option --- zpm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/zpm b/zpm index 633eabf..06599ac 100755 --- a/zpm +++ b/zpm @@ -3,7 +3,7 @@ # parse command line options while getopts P: opt; do case $opt in - P) PATH=$PATH:$OPTARG ;; + P) PATH=$OPTARG:$PATH ;; *) printf "zpm unknown option '%s'\n" "$opt"; exit 1 ;; esac done -- 2.40.0