aboutsummaryrefslogtreecommitdiffstats
path: root/Library
diff options
context:
space:
mode:
authorAdam Vandenberg2013-08-04 12:41:33 -0700
committerAdam Vandenberg2013-08-04 12:41:33 -0700
commit485a79191ad57a080fd4f99ee73b28aff117b961 (patch)
treef59b58cef9d5fd56590b8bb48a9dcbc399ba9d7b /Library
parenta053d664b98512aaf2dad2db4671995c83ee20ae (diff)
downloadhomebrew-485a79191ad57a080fd4f99ee73b28aff117b961.tar.bz2
tmux: install example files
Closes #21644.
Diffstat (limited to 'Library')
-rw-r--r--Library/Formula/tmux.rb9
1 files changed, 8 insertions, 1 deletions
diff --git a/Library/Formula/tmux.rb b/Library/Formula/tmux.rb
index 3c66a6013..c1af95a27 100644
--- a/Library/Formula/tmux.rb
+++ b/Library/Formula/tmux.rb
@@ -21,7 +21,7 @@ class Tmux < Formula
# http://sourceforge.net/p/tmux/tickets/41/
# Fixes abnormal displaying Korean letters on Mac OS X
# https://gist.github.com/niceview/5343842
- # Accepted upstream, can be removedin next version.
+ # Accepted upstream, can be removed in next version.
DATA
end
@@ -35,6 +35,13 @@ class Tmux < Formula
system "make install"
bash_completion.install "examples/bash_completion_tmux.sh" => 'tmux'
+ (share/'tmux').install "examples"
+ end
+
+ def caveats; <<-EOS.undent
+ Exmample configurations have been installed to:
+ #{share}/tmux/examples
+ EOS
end
def test