tig: enable bash completion

Copy the bash completion script that comes with tig to
$out/etc/bash_completion.d/.

Note: to enable bash completion in NixOS, set
environment.enableBashCompletion = true;
This commit is contained in:
Bjørn Forsman 2013-04-01 18:37:52 +02:00
parent f2726c5c57
commit e21c53c211

View file

@ -10,6 +10,8 @@ stdenv.mkDerivation rec {
installPhase = ''
make install
make install-doc
mkdir -p $out/etc/bash_completion.d/
cp contrib/tig-completion.bash $out/etc/bash_completion.d/
'';
meta = {
homepage = "http://jonas.nitro.dk/tig/";