1
1
mirror of https://github.com/divnix/digga.git synced 2024-12-24 00:21:47 +03:00

shell: for zsh users provide useful competion

Default nix completions fail with the new nix-command interface, at
least for users of zsh and direnv, this can be avoided on first startup.
This commit is contained in:
Timothy DeHerrera 2020-12-19 18:13:04 -07:00
parent 3a626b6cf2
commit 891fd23ec2
No known key found for this signature in database
GPG Key ID: 8985725DB5B0C122

View File

@ -1,4 +1,7 @@
{ pkgs ? import <nixpkgs> { } }:
{ pkgs ? import <nixpkgs> {
overlays = [ (import ./overlays/nix-zsh-completions.nix) ];
}
}:
let
configs = "${toString ./.}#nixosConfigurations";
build = "config.system.build";
@ -19,6 +22,7 @@ pkgs.mkShell {
git
git-crypt
rebuild
nix-zsh-completions
];
shellHook = ''