Skip to content

Commit d0cf07c

Browse files
committed
Format __fish_cache_sourced_completions
1 parent 66aab66 commit d0cf07c

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

share/functions/__fish_cache_sourced_completions.fish

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ function __fish_cache_sourced_completions
55

66
set -q argv[1]
77
or return 1
8-
8+
99
set -l cmd (command -s $argv[1])
1010
or begin
1111
# If we have no command, we can't get an mtime
@@ -24,17 +24,17 @@ function __fish_cache_sourced_completions
2424

2525
set -l cmtime 0
2626
path is -rf -- $stampfile
27-
and read cmtime < $stampfile
27+
and read cmtime <$stampfile
2828

2929
# If either the timestamp or the completion file don't exist,
3030
# or the mtime differs, we rerun.
3131
#
3232
# That means we'll rerun if the command was up- or downgraded.
3333
if path is -vrf -- $stampfile $compfile || test "$cmtime" -ne "$mtime" 2>/dev/null
34-
$argv > $compfile
34+
$argv >$compfile
3535
# If the command exited unsuccessfully, we assume it didn't work.
3636
or return 2
37-
echo -- $mtime > $stampfile
37+
echo -- $mtime >$stampfile
3838
end
3939

4040
if path is -rf -- $compfile

0 commit comments

Comments
 (0)