Skip to content

Commit c91e6c4

Browse files
committed
style(_comp_compgen_filedir): directly call _comp_compgen_filedir
1 parent 7f5fa3d commit c91e6c4

File tree

317 files changed

+699
-699
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

317 files changed

+699
-699
lines changed

bash_completion

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1154,7 +1154,7 @@ _comp_initialize()
11541154
;;
11551155
esac
11561156
cur=${cur##"$redir"}
1157-
_comp_compgen filedir "$xspec"
1157+
_comp_compgen_filedir "$xspec"
11581158
return 1
11591159
fi
11601160

completions/2to3

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ _comp_cmd_2to3()
1919
return
2020
;;
2121
-o | --output-dir)
22-
_comp_compgen filedir -d
22+
_comp_compgen_filedir -d
2323
return
2424
;;
2525
esac
@@ -32,7 +32,7 @@ _comp_cmd_2to3()
3232
return
3333
fi
3434

35-
_comp_compgen filedir py
35+
_comp_compgen_filedir py
3636
} &&
3737
complete -F _comp_cmd_2to3 2to3
3838

completions/7z

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ _comp_cmd_7z()
119119
2>/dev/null | tail -n+2)")" -- "$cur"))
120120
compopt -o filenames
121121
else
122-
_comp_compgen filedir
122+
_comp_compgen_filedir
123123
fi
124124
fi
125125
} &&

completions/_adb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ _comp_cmd_adb()
2020
return
2121
;;
2222
-f)
23-
_comp_compgen filedir
23+
_comp_compgen_filedir
2424
return
2525
;;
2626
esac

completions/_chsh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ _comp_cmd_chsh()
2222
return
2323
;;
2424
-R | --root)
25-
_comp_compgen filedir -d
25+
_comp_compgen_filedir -d
2626
return
2727
;;
2828
-s | --shell)

completions/_hexdump

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ _comp_cmd_hexdump()
1313
return
1414
;;
1515
-f)
16-
_comp_compgen filedir
16+
_comp_compgen_filedir
1717
return
1818
;;
1919
esac
@@ -25,7 +25,7 @@ _comp_cmd_hexdump()
2525
return
2626
fi
2727

28-
_comp_compgen filedir
28+
_comp_compgen_filedir
2929
} &&
3030
complete -F _comp_cmd_hexdump hexdump hd
3131

completions/_hwclock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ _comp_cmd_hwclock()
1313
return
1414
;;
1515
-f | --rtc | --adjfile)
16-
_comp_compgen filedir
16+
_comp_compgen_filedir
1717
return
1818
;;
1919
esac

completions/_mock

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -32,11 +32,11 @@ _comp_cmd_mock()
3232
return
3333
;;
3434
--configdir | --resultdir)
35-
_comp_compgen filedir -d
35+
_comp_compgen_filedir -d
3636
return
3737
;;
3838
--spec)
39-
_comp_compgen filedir spec
39+
_comp_compgen_filedir spec
4040
return
4141
;;
4242
--target)
@@ -61,7 +61,7 @@ _comp_cmd_mock()
6161
COMPREPLY=($(compgen -W '$(_parse_help "$1")' -- "$cur"))
6262
[[ ${COMPREPLY-} == *= ]] && compopt -o nospace
6363
else
64-
_comp_compgen filedir '@(?(no)src.r|s)pm'
64+
_comp_compgen_filedir '@(?(no)src.r|s)pm'
6565
fi
6666
} &&
6767
complete -F _comp_cmd_mock mock

completions/_mount.linux

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ _comp_cmd_mount()
2828
return
2929
;;
3030
--bind | -B | --rbind | -R)
31-
_comp_compgen filedir -d
31+
_comp_compgen_filedir -d
3232
return
3333
;;
3434
-p | --pass-fd)

completions/_repomanage

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ _comp_cmd_repomanage()
1616
COMPREPLY=($(compgen -W '$(_parse_help "$1")' -- "$cur"))
1717
[[ ${COMPREPLY-} == *= ]] && compopt -o nospace
1818
else
19-
_comp_compgen filedir -d
19+
_comp_compgen_filedir -d
2020
fi
2121
} &&
2222
complete -F _comp_cmd_repomanage repomanage

0 commit comments

Comments
 (0)