aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMattias Andrée <maandree@operamail.com>2015-04-03 22:45:52 +0200
committerMattias Andrée <maandree@operamail.com>2015-04-03 22:45:52 +0200
commit66dd451b7015480b1a46e890c64662d69956968b (patch)
treeb5e2060ef4f6d918e25006f0a1bd78bd998385bf /src
parentupdate dist (diff)
downloadauto-auto-complete-66dd451b7015480b1a46e890c64662d69956968b.tar.gz
auto-auto-complete-66dd451b7015480b1a46e890c64662d69956968b.tar.bz2
auto-auto-complete-66dd451b7015480b1a46e890c64662d69956968b.tar.xz
fix for zsh6
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src')
-rwxr-xr-xsrc/auto-auto-complete.py4
1 files changed, 2 insertions, 2 deletions
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()