Replace ref- prefix in output of list command with ref:

This commit is contained in:
Shunsuke Kirino 2017-10-23 11:23:51 +09:00
parent 8a2fd85529
commit 9ba0a5cc2d

View File

@ -48,7 +48,7 @@ list_installed_versions() {
if [ -d "$plugin_installs_path" ]; then
# shellcheck disable=SC2045
for install in $(ls -d "${plugin_installs_path}"/*/ 2>/dev/null); do
basename "$install"
basename "$install" | sed 's/^ref-/ref:/'
done
fi
}