From 58bc3b80545b7d5a18e96b6a1d02bfd6aba97970 Mon Sep 17 00:00:00 2001 From: Mike McQuaid Date: Sun, 27 Jan 2013 22:34:26 +0000 Subject: Add bash and zsh completion directory functions. --- Library/Homebrew/formula.rb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Library') diff --git a/Library/Homebrew/formula.rb b/Library/Homebrew/formula.rb index 37f394ce9..47a2a4d11 100644 --- a/Library/Homebrew/formula.rb +++ b/Library/Homebrew/formula.rb @@ -137,6 +137,9 @@ class Formula # generally we don't want var stuff inside the keg def var; HOMEBREW_PREFIX+'var' end + def bash_completion; prefix+'etc/bash_completion.d' end + def zsh_completion; share+'zsh/site-functions' end + # override this to provide a plist def plist; nil; end alias :startup_plist :plist -- cgit v1.2.3