Files
Pmodules/Pmodules/profile.zsh.in
T
2022-05-17 19:01:51 +02:00

25 lines
458 B
Bash

#!/bin/zsh
#
# set default version
: ${PMODULES_VERSION:=@PMODULES_VERSION@}
##### no changes below this line ######
declare __pm_root__=${(%):-%N}
declare -x PMODULES_HOME="${__pm_root__:h:h}/Tools/Pmodules/${PMODULES_VERSION}"
unset __pm_root__
test -r "${PMODULES_HOME}/init/zsh" && source "$_"
if [[ $? != 0 ]]; then
echo "Oops: cannot initialize Pmodules!"
return 1
fi
# Local Variables:
# mode: sh
# sh-basic-offset: 8
# tab-width: 8
# End: