File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ function __fish_cache_sourced_completions
5
5
6
6
set -q argv[1]
7
7
or return 1
8
-
8
+
9
9
set -l cmd (command -s $argv [1])
10
10
or begin
11
11
# If we have no command, we can't get an mtime
@@ -24,17 +24,17 @@ function __fish_cache_sourced_completions
24
24
25
25
set -l cmtime 0
26
26
path is -rf -- $stampfile
27
- and read cmtime < $stampfile
27
+ and read cmtime < $stampfile
28
28
29
29
# If either the timestamp or the completion file don't exist,
30
30
# or the mtime differs, we rerun.
31
31
#
32
32
# That means we'll rerun if the command was up- or downgraded.
33
33
if path is -vrf -- $stampfile $compfile || test " $cmtime " -ne " $mtime " 2> /dev/null
34
- $argv > $compfile
34
+ $argv > $compfile
35
35
# If the command exited unsuccessfully, we assume it didn't work.
36
36
or return 2
37
- echo -- $mtime > $stampfile
37
+ echo -- $mtime > $stampfile
38
38
end
39
39
40
40
if path is -rf -- $compfile
You can’t perform that action at this time.
0 commit comments