mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
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:
parent
f2726c5c57
commit
e21c53c211
1 changed files with 2 additions and 0 deletions
|
@ -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/";
|
||||
|
|
Loading…
Reference in a new issue