From 9597a2aa5a51289ed77e8a70063b414f128ba946 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Pierre-Elliott=20B=C3=A9cue?= <becue@crans.org>
Date: Sun, 19 May 2013 01:10:40 +0200
Subject: [PATCH] =?UTF-8?q?[=5Fcranspasswords]=20La=20tab=20compl=C3=A9tio?=
 =?UTF-8?q?n=20=C3=A9tait=20un=20poil=20foireuse,=20optimis=C3=A9.?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit

---
 _cranspasswords | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/_cranspasswords b/_cranspasswords
index b63948c..4bf1f7c 100644
--- a/_cranspasswords
+++ b/_cranspasswords
@@ -20,7 +20,7 @@ _cranspasswords(){
             ;;
         esac
     else
-        if [[ $words[2] == '-' ]]; then
+        if [[ "$words[2]"* == "-"* ]]; then
             _cranspasswords_args
         else
            _cranspasswords_files
-- 
GitLab