aboutsummaryrefslogtreecommitdiffstats
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
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>
-rw-r--r--COPYING2
-rwxr-xr-xsrc/auto-auto-complete.py4
2 files changed, 3 insertions, 3 deletions
diff --git a/COPYING b/COPYING
index 5c383b8..8d2398b 100644
--- a/COPYING
+++ b/COPYING
@@ -1,6 +1,6 @@
auto-auto-complete – Autogenerate shell auto-completion scripts
-Copyright © 2012, 2013, 2014 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
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()