From 775b4a39e68d9839d56bddbad92beb87c7157528 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=BCdiger=20Sonderfeld?= Date: Tue, 19 Aug 2014 17:03:49 +0200 Subject: [PATCH] tmux: Install bash completion script. --- pkgs/tools/misc/tmux/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/tools/misc/tmux/default.nix b/pkgs/tools/misc/tmux/default.nix index 5b656cc13e72..4acbabb50f98 100644 --- a/pkgs/tools/misc/tmux/default.nix +++ b/pkgs/tools/misc/tmux/default.nix @@ -14,6 +14,12 @@ stdenv.mkDerivation rec { buildInputs = [ ncurses libevent ]; + postInstall = + '' + mkdir -p $out/etc/bash_completion.d + cp -v examples/bash_completion_tmux.sh $out/etc/bash_completion.d/tmux + ''; + meta = { homepage = http://tmux.sourceforge.net/; description = "tmux is a terminal multiplexer";