From 66dd451b7015480b1a46e890c64662d69956968b Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Fri, 3 Apr 2015 22:45:52 +0200 Subject: fix for zsh MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/auto-auto-complete.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/auto-auto-complete.py') diff --git a/src/auto-auto-complete.py b/src/auto-auto-complete.py index 1f77fd8..8637fe0 100755 --- a/src/auto-auto-complete.py +++ b/src/auto-auto-complete.py @@ -3,7 +3,7 @@ ''' auto-auto-complete – Autogenerate shell auto-completion scripts -Copyright © 2012, 2013 Mattias Andrée (maandree@member.fsf.org) +Copyright © 2012, 2013, 2014, 2015 Mattias Andrée (maandree@member.fsf.org) This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -638,7 +638,7 @@ class GeneratorZSH: @return :str The generated code ''' - buf = '# zsh completion for %s -*- shell-script -*-\n\n' % self.program + buf = '#compdef %s\n\n' % self.program files = self.__getFiles() -- cgit v1.2.3-70-g09d2