aboutsummaryrefslogtreecommitdiffstats
path: root/commands/util.go
diff options
context:
space:
mode:
Diffstat (limited to 'commands/util.go')
-rw-r--r--commands/util.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/commands/util.go b/commands/util.go
index a9aa81b3..726669af 100644
--- a/commands/util.go
+++ b/commands/util.go
@@ -234,12 +234,12 @@ func FilterList(valid []string, search, prefix, suffix string, isFuzzy bool) []s
out := make([]string, 0, len(valid))
if isFuzzy {
for _, v := range fuzzy.RankFindFold(search, valid) {
- out = append(out, opt.QuoteArg(prefix+v.Target+suffix))
+ out = append(out, opt.QuoteArg(prefix+v.Target)+suffix)
}
} else {
for _, v := range valid {
if hasCaseSmartPrefix(v, search) {
- out = append(out, opt.QuoteArg(prefix+v+suffix))
+ out = append(out, opt.QuoteArg(prefix+v)+suffix)
}
}
}