diff options
-rwxr-xr-x | icevault | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -296,7 +296,7 @@ sub complete($;$) { } my %matches = map {( $_ => 1 )} @matches; - return keys %matches; + return sort keys %matches; } # Redact passwords, unless $CONFIG{'show-passwords'} is set. @@ -898,7 +898,7 @@ elsif ($command eq 'ls') { my $delim = $CONFIG{zero} ? "\0" : "\n"; my %matches = map {($_ => 1)} @matches; - print $LOCALE->encode($_), $delim foreach keys %matches; + print $LOCALE->encode($_), $delim foreach sort keys %matches; } else { |