summaryrefslogtreecommitdiff
path: root/completion
diff options
context:
space:
mode:
authorewy <ewy0@protonmail.com>2026-05-02 16:31:45 +0200
committerewy <ewy0@protonmail.com>2026-05-02 16:31:45 +0200
commit720a9145c576f9b1616d8005869af0259bad779d (patch)
tree23fe3dd11f94e2d860cf61e2c2cc446be318db75 /completion
parentc01a06e38d0b0331f459cd439ce7706ef1556e50 (diff)
change completion script to posix sh
Diffstat (limited to 'completion')
-rw-r--r--completion/completion.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/completion/completion.sh b/completion/completion.sh
index 9cbd52c..36876cf 100644
--- a/completion/completion.sh
+++ b/completion/completion.sh
@@ -3,7 +3,7 @@ _pik_completions()
{
QUERY=""
for word in COMP_WORDS ; do
- if [[ query != "-*" ]] ; then
+ if [ ! query = "-"* ] ; then
QUERY="$QUERY $WORD"
fi
done