#!/bin/sh
+PATH="$PATH:/usr/libexec/zpm"
+export PATH
+
[ -z "$1" ] && set help
cmd="$1"
shift
exit 1;
}
+# parse command line options
+
+# read in config files
+
+test -r /etc/zpmrc && . /etc/zpmrc
+test -r $HOME/.zpmrc && . $HOME/zpmrc
+test -r .zpmrc && . .zpmrc
+
case $cmd in
help)
ecmd=$(command -v "zpm-$cmd") && { exec "$ecmd" "$@" || die "$0: unknown command zpm help"; }