From cf845a396ed6a9793711c15750b86326c440b483 Mon Sep 17 00:00:00 2001 From: Mikael Magnusson Date: Thu, 18 Aug 2011 14:28:49 +0000 Subject: 29705: add correct number of slashes when completing //TRANSLIT. --- Completion/Unix/Command/_iconv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Completion') diff --git a/Completion/Unix/Command/_iconv b/Completion/Unix/Command/_iconv index 2cd69b21a..75fe521ee 100644 --- a/Completion/Unix/Command/_iconv +++ b/Completion/Unix/Command/_iconv @@ -21,7 +21,7 @@ if _pick_variant gnu=GNU unix --version; then '1:input file:_files' && return 0 if [[ $state = codeset ]]; then - if compset -P '*/'; then + if compset -P '*[^/]/'; then _wanted option expl option compadd "$@" /TRANSLIT && ret=0 else _wanted codesets expl 'code set' compadd "$@" \ -- cgit 1.4.1