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 b7dfcd5 commit e26fc94Copy full SHA for e26fc94
src/System.CommandLine.Suggest/dotnet-suggest-shim.bash
@@ -5,10 +5,6 @@ _dotnet_bash_complete()
5
local escaped_comp_line=$(echo "$COMP_LINE" | sed s/\"/'\\\"'/g)
6
local completions=`dotnet-suggest get --executable "${fullpath}" --position ${COMP_POINT} -- "${escaped_comp_line}"`
7
8
- if [ "${#COMP_WORDS[@]}" != "2" ]; then
9
- return
10
- fi
11
-
12
local IFS=$'\n'
13
local suggestions=($(compgen -W "$completions"))
14
@@ -30,5 +26,5 @@ _dotnet_bash_register_complete()
30
26
complete -F _dotnet_bash_complete `dotnet-suggest list`
31
27
}
32
28
_dotnet_bash_register_complete
33
-export DOTNET_SUGGEST_SCRIPT_VERSION="1.0.1"
29
+export DOTNET_SUGGEST_SCRIPT_VERSION="1.0.2"
34
# dotnet suggest shell complete script end
0 commit comments