nix(feat): Add bash completion for git references

This commit is contained in:
Wolfgang Walther
2022-06-03 22:19:16 -05:00
committed by Steve Chavez
parent 1aebe62a03
commit 88674c5af6
5 changed files with 35 additions and 15 deletions
+2
View File
@@ -38,6 +38,7 @@ lib.overrideDerivation postgrest.env (
base.buildInputs ++ [
pkgs.cabal-install
pkgs.cabal2nix
pkgs.git
pkgs.postgresql
postgrest.hsie.bin
]
@@ -46,6 +47,7 @@ lib.overrideDerivation postgrest.env (
shellHook =
''
source ${pkgs.bashCompletion}/etc/profile.d/bash_completion.sh
source ${pkgs.git}/share/git/contrib/completion/git-completion.bash
source ${postgrest.hsie.bashCompletion}
''