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:
parent
3a626b6cf2
commit
891fd23ec2
@ -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 = ''
|
||||
|
Loading…
Reference in New Issue
Block a user