mirror of
https://github.com/Pmodules/Pmodules.git
synced 2026-06-28 18:29:39 +02:00
profile.zsh: rename __pm_root__ to __this_file__
This commit is contained in:
@@ -5,10 +5,11 @@
|
||||
: ${PMODULES_VERSION:=@PMODULES_VERSION@}
|
||||
|
||||
##### no changes below this line ######
|
||||
export PMODULES_VERSION
|
||||
|
||||
declare __pm_root__=${(%):-%N}
|
||||
declare -x PMODULES_HOME="${__pm_root__:h:h}/Tools/Pmodules/${PMODULES_VERSION}"
|
||||
unset __pm_root__
|
||||
declare __this_file__=${(%):-%N}
|
||||
declare -x PMODULES_HOME="${__this_file____:h:h}/Tools/Pmodules/${PMODULES_VERSION}"
|
||||
unset __this_file__
|
||||
|
||||
test -r "${PMODULES_HOME}/init/zsh" && source "$_"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user