From 37308e35949fc9cf463860c66b0666ab8ac2f9c6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ville=20Skytt=C3=A4?= Date: Fri, 20 Aug 2010 13:35:12 +0300 Subject: [PATCH] Simplify _filedir arguments. --- contrib/mcrypt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/contrib/mcrypt b/contrib/mcrypt index e777150f..9e746fb1 100644 --- a/contrib/mcrypt +++ b/contrib/mcrypt @@ -58,12 +58,12 @@ _mcrypt() --list-hash --verbose --quiet --help \ --version --license' -- "$cur" ) ) elif [[ ${COMP_WORDS[0]} == mdecrypt ]]; then - _filedir '@(nc)' + _filedir nc else decrypt=0 for (( i=1; i < ${#COMP_WORDS[@]}-1; i++ )); do if [[ ${COMP_WORDS[i]} == -@(d|-decrypt) ]]; then - _filedir '@(nc)' + _filedir nc decrypt=1 break fi