diff options
| -rw-r--r-- | completion/completion.sh | 2 | ||||
| -rw-r--r-- | main.go | 2 |
2 files changed, 2 insertions, 2 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 @@ -182,7 +182,7 @@ func main() { } if result.Target == nil { - _, _ = spool.Warn("target not found.\n") + _, _ = spool.Warn("target not found\n") os.Exit(1) return } |
