nix(feat): Add bash completion for git references

This commit is contained in:
Wolfgang Walther
2021-11-27 10:57:29 +01:00
committed by Wolfgang Walther
parent 32ff9dfb48
commit 5a8d9b1246
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}
''