aboutsummaryrefslogtreecommitdiffstats
path: root/cli/icevault
diff options
context:
space:
mode:
Diffstat (limited to 'cli/icevault')
-rwxr-xr-xcli/icevault4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/icevault b/cli/icevault
index 4848cd7..034bb9d 100755
--- a/cli/icevault
+++ b/cli/icevault
@@ -732,9 +732,9 @@ if ($COMMAND eq '_complete') {
if (all { /\A\Q$s\E:\/\/\Q$h\E\// } @matches) { # common host: list all ids
} elsif (all { /\A\Q$s\E:\/\// } @matches) { # common scheme: list only hosts
- s#/[^\P{Print}\/]+\z#/# foreach @matches;
+ s#/[^\P{Print}\/]+\z## foreach @matches;
} else { # no common scheme: list only schemes
- s#://[^\P{Graph}\/]+/[^\P{Print}\/]+\z#://# foreach @matches;
+ s#://[^\P{Graph}\/]+/[^\P{Print}\/]+\z## foreach @matches;
}
my %matches = map {($_ => 1)} grep defined, @matches;