This commit is contained in:
Hagai Cohen 2017-04-20 15:00:44 +00:00 committed by GitHub
commit cd336d6ec6

View File

@ -5,7 +5,7 @@ tpm_plugins_variable_name="@tpm_plugins"
_manual_expansion() { _manual_expansion() {
local path="$1" local path="$1"
local expanded_tilde="${path/#\~/$HOME}" local expanded_tilde="${path/#\~/$HOME}"
echo "${expanded_tilde/#\$HOME/$HOME}" echo $(echo $expanded_tilde | envsubst)
} }
_tpm_path() { _tpm_path() {