File tree 3 files changed +6
-6
lines changed
3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 5
5
local cur prev words cword split
6
6
_init_completion -s || return
7
7
8
- _expand || return
9
-
10
8
# default completion if parameter looks like a path
11
9
if [[ " $cur " == @ (* /| [.~])* ]]; then
12
10
_filedir
@@ -49,6 +47,8 @@ _info()
49
47
infopath=$INFOPATH
50
48
fi
51
49
50
+ _expand || return
51
+
52
52
infopath=$infopath :
53
53
if [[ -n $cur ]]; then
54
54
infopath=" ${infopath//:// $cur * } "
Original file line number Diff line number Diff line change 45
45
return
46
46
fi
47
47
48
- _expand || return
49
-
50
48
# file based completion if parameter looks like a path
51
49
if [[ " $cur " == @ (* /| [.~])* ]]; then
52
50
_filedir " $manext "
60
58
local sect
61
59
[[ " $prev " == $mansect ]] && sect=$prev || sect=' *'
62
60
61
+ _expand || return
62
+
63
63
manpath=$manpath :
64
64
if [[ -n $cur ]]; then
65
65
manpath=" ${manpath//://* man$sect / $cur * } ${manpath//://* cat$sect / $cur * } "
Original file line number Diff line number Diff line change 5
5
local cur prev words cword split
6
6
_init_completion -s -n : || return
7
7
8
- _expand || return
9
-
10
8
case $prev in
11
9
--config|--password-file|--include-from|--exclude-from|--files-from|\
12
10
--log-file|--write-batch|--only-write-batch|--read-batch)
@@ -34,6 +32,8 @@ _rsync()
34
32
35
33
$split && return
36
34
35
+ _expand || return
36
+
37
37
case $cur in
38
38
-* )
39
39
COMPREPLY=( $( compgen -W ' --verbose --quiet --no-motd --checksum
You can’t perform that action at this time.
0 commit comments