diff options
| author | ewy <ewy0@protonmail.com> | 2026-05-02 16:31:45 +0200 |
|---|---|---|
| committer | ewy <ewy0@protonmail.com> | 2026-05-02 16:31:45 +0200 |
| commit | 720a9145c576f9b1616d8005869af0259bad779d (patch) | |
| tree | 23fe3dd11f94e2d860cf61e2c2cc446be318db75 /completion | |
| parent | c01a06e38d0b0331f459cd439ce7706ef1556e50 (diff) | |
change completion script to posix sh
Diffstat (limited to 'completion')
| -rw-r--r-- | completion/completion.sh | 2 |
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 |
