diff options
author | David Adam <zanchey@ucc.gu.uwa.edu.au> | 2015-06-26 16:14:01 +0800 |
---|---|---|
committer | David Adam <zanchey@ucc.gu.uwa.edu.au> | 2015-06-26 16:14:01 +0800 |
commit | 976ce1e8fd16a5c6018004074051ab38243581e2 (patch) | |
tree | 8eb6992f858107ea6f0bff78a917262ce6a0d066 /share/functions/__fish_print_debian_apache_sites.fish | |
parent | 6ec58a20c074d2ecf8a523535b28144ec4893c1f (diff) |
Add completions for Debian's Apache tools, a2{en,dis}{mod,conf,site}
Work on #2141.
Diffstat (limited to 'share/functions/__fish_print_debian_apache_sites.fish')
-rw-r--r-- | share/functions/__fish_print_debian_apache_sites.fish | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/share/functions/__fish_print_debian_apache_sites.fish b/share/functions/__fish_print_debian_apache_sites.fish new file mode 100644 index 00000000..08436a3e --- /dev/null +++ b/share/functions/__fish_print_debian_apache_sites.fish @@ -0,0 +1,6 @@ +function __fish_print_debian_apache_sites + # Helper script for completions for a2ensite/a2dissite + for site in /etc/apache2/sites-available/* + basename "$site" .conf + end +end |