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
@ -10,6 +10,8 @@ stdenv.mkDerivation rec {
|
|||||||
installPhase = ''
|
installPhase = ''
|
||||||
make install
|
make install
|
||||||
make install-doc
|
make install-doc
|
||||||
|
mkdir -p $out/etc/bash_completion.d/
|
||||||
|
cp contrib/tig-completion.bash $out/etc/bash_completion.d/
|
||||||
'';
|
'';
|
||||||
meta = {
|
meta = {
|
||||||
homepage = "http://jonas.nitro.dk/tig/";
|
homepage = "http://jonas.nitro.dk/tig/";
|
||||||
|
Loading…
x
Reference in New Issue
Block a user