diff --git a/scripts/helpers/plugin_functions.sh b/scripts/helpers/plugin_functions.sh index d2778d5..954c55c 100644 --- a/scripts/helpers/plugin_functions.sh +++ b/scripts/helpers/plugin_functions.sh @@ -5,7 +5,7 @@ tpm_plugins_variable_name="@tpm_plugins" _manual_expansion() { local path="$1" local expanded_tilde="${path/#\~/$HOME}" - echo "${expanded_tilde/#\$HOME/$HOME}" + echo $(echo $expanded_tilde | envsubst) } _tpm_path() {