From 4aa41e226780725bf50e4f273834d0923ba8c4e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Aljaz=CC=8C=20=22g5pw=22=20Srebrnic=CC=8C?= Date: Sun, 31 Mar 2013 22:49:15 +0200 Subject: [PATCH] Use message instead of guard Use _message instead of _guard when completing the search pattern. --- src/_port | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/_port b/src/_port index 064928a..806dd41 100644 --- a/src/_port +++ b/src/_port @@ -83,7 +83,7 @@ _port() { _files ;; search) - _guard '^--*' 'pattern' + _message 'pattern' ;; help) _describe -t actions 'Port actions' actions