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 261c302 commit 499257cCopy full SHA for 499257c
scripts/install_completion.sh
@@ -9,6 +9,13 @@ if [ ! -d /etc/bash_completion.d ]; then
9
exit 1
10
fi
11
12
+# Install debug version if --debug is specified
13
+if [ "$1" = "--debug" ]; then
14
+ echo "Installing debug version..."
15
+ sudo cp scripts/bash_pinyin_completion_debug /etc/bash_completion.d/bash_pinyin_completion
16
+ exit 0
17
+fi
18
+
19
# Install or upgrade the binary
20
if [ -f /usr/bin/bash-pinyin-completion-rs ]; then
21
echo "The binary /usr/bin/bash-pinyin-completion-rs already exists. Upgrading..."
0 commit comments