We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b171c6 commit 572afb8Copy full SHA for 572afb8
completions/patch
@@ -50,7 +50,12 @@ _comp_cmd_patch()
50
[[ $was_split ]] && return
51
52
if [[ $cur == -* ]]; then
53
- _comp_compgen_help
+ # lowercasing
54
+ if [[ ${OSTYPE,,} == *@(darwin|bsd)* ]]; then
55
+ _comp_compgen_usage
56
+ else
57
+ _comp_compgen_help
58
+ fi
59
[[ ${COMPREPLY-} == *= ]] && compopt -o nospace
60
return
61
fi
completions/truncate
@@ -20,7 +20,12 @@ _comp_cmd_truncate()
20
21
22
23
24
25
26
27
28
29
30
31
0 commit comments