String subst for __fish_datadir in __fisher_version.

This commit is contained in:
Jorge Bucaran 2016-05-22 04:57:24 +09:00 committed by Jorge Bucaran
parent ea1a6bf603
commit d04761016c

View file

@ -2078,7 +2078,7 @@ end
function __fisher_version
set -l real_home ~
printf "fisherman version $fisher_version %s\n" (
__fisher_plugin_normalize_path (status -f) | command sed "s|$real_home|~|")
__fisher_plugin_normalize_path (status -f) | command sed "s|$real_home|~|;s|$__fish_datadir|\$__fish_datadir|")
end