aboutsummaryrefslogtreecommitdiffstats
path: root/src/auto-auto-complete.py
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/auto-auto-complete.py
parentupdate dist (diff)
downloadauto-auto-complete-67b351ba0d5db180d7f57183b15165af73374deb.tar.gz
auto-auto-complete-67b351ba0d5db180d7f57183b15165af73374deb.tar.bz2
auto-auto-complete-67b351ba0d5db180d7f57183b15165af73374deb.tar.xz
fix for zsh6
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to '')
-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()