From 11042df805ff9f904eef6e3cd6d6c5c8e99a8da6 Mon Sep 17 00:00:00 2001 From: Eivind Uggedal Date: Fri, 5 Sep 2014 13:00:50 +0000 Subject: [PATCH] tmux: install bash completion --- srcpkgs/tmux/template | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/srcpkgs/tmux/template b/srcpkgs/tmux/template index d09b099fa1..264b057b87 100644 --- a/srcpkgs/tmux/template +++ b/srcpkgs/tmux/template @@ -1,7 +1,7 @@ # Template file for 'tmux' pkgname=tmux version=1.9a -revision=1 +revision=2 build_style=gnu-configure makedepends="ncurses-devel libevent-devel" short_desc="Terminal Multiplexer" @@ -10,3 +10,8 @@ homepage="http://tmux.sourceforge.net" license="MIT" distfiles="${SOURCEFORGE_SITE}/tmux/tmux-$version.tar.gz" checksum=c5e3b22b901cf109b20dab54a4a651f0471abd1f79f6039d79b250d21c2733f5 + +post_install() { + vinstall examples/bash_completion_tmux.sh 644 \ + usr/share/bash-completion/completions tmux +}