From 9ba0a5cc2dd28a4dc25dc59eaa5cd2b5e620a75d Mon Sep 17 00:00:00 2001 From: Shunsuke Kirino Date: Mon, 23 Oct 2017 11:23:51 +0900 Subject: [PATCH] Replace `ref-` prefix in output of list command with `ref:` --- lib/utils.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/utils.sh b/lib/utils.sh index 20a3bc5e..5e621ebc 100644 --- a/lib/utils.sh +++ b/lib/utils.sh @@ -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 }