modules: packages: prefer user compinit to global
This should make the shell startup faster.
This commit is contained in:
parent
75e3d9bf70
commit
6612d0226a
|
@ -1,5 +1,5 @@
|
||||||
# Common packages
|
# Common packages
|
||||||
{ pkgs, ... }:
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
{
|
{
|
||||||
# List packages installed in system profile. To search, run:
|
# List packages installed in system profile. To search, run:
|
||||||
|
@ -13,7 +13,11 @@
|
||||||
];
|
];
|
||||||
|
|
||||||
programs.vim.defaultEditor = true; # Modal editing is life
|
programs.vim.defaultEditor = true; # Modal editing is life
|
||||||
programs.zsh.enable = true; # Use integrations
|
programs.zsh = {
|
||||||
|
enable = true; # Use integrations
|
||||||
|
# Disable global compinit when a user config exists
|
||||||
|
enableGlobalCompInit = !config.my.home.zsh.enable;
|
||||||
|
};
|
||||||
|
|
||||||
nixpkgs.config.allowUnfree = true; # Because I don't care *that* much.
|
nixpkgs.config.allowUnfree = true; # Because I don't care *that* much.
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue