3
0
Fork 0
forked from mirrors/nixpkgs
nixpkgs/nixos/modules
Maximilian Bosch aa46b1ec0e nixos/autosuggestions: add module (#41397)
The `zsh-autosuggestions` package provides several configuration options
such as a different highlight style (like `fg=cyan` which is easier to
read).

With `rename.nix` the old `programs.zsh.enableAutosuggestions` is still
functional, but yields the following warning like this during evaluation:

```
trace: warning: The option `programs.zsh.enableAutosuggestions' defined in `<unknown-file>' has been renamed to `programs.zsh.autosuggestions.enable'.
```

The module provides the most common `zsh-autosuggestions` (highlight
style and strategy) as options that will be written into the interactive
shell init (`/etc/zshrc` by default). Further configuration options can
be declared using the `extraConfig` attr set:

```
{
  programs.zsh.autosuggestions.extraConfig = {
    "ZSH_AUTOSUGGEST_BUFFER_MAX_SIZE" = "buffer_size";
  };
}
```

A full list of available configuration options for `zsh-autosuggestions`
can be viewed here: https://github.com/zsh-users/zsh-autosuggestions/blob/v0.4.3/README.md
2018-06-10 23:08:50 +02:00
..
config iproute2: module to create rt_table file & co 2018-05-15 21:55:04 +09:00
hardware Merge branch 'master' into staging 2018-04-10 09:13:36 +02:00
i18n/input-method Added cross-references to NixOS manual 2018-04-12 09:39:14 +10:00
installer Merge branch 'plat-fix-for-merge-2' into master 2018-06-01 20:08:08 +03:00
misc Revert "nixpkgs module: Fix defaulting of localSystem and system" 2018-05-31 15:55:36 -04:00
profiles nixos/installer: Drop dmraid 2018-05-25 01:55:51 +03:00
programs nixos/autosuggestions: add module (#41397) 2018-06-10 23:08:50 +02:00
security manual: Clarify that limits.conf doesn't apply to systemd services. (#40267) 2018-05-12 17:44:57 +02:00
services tomcat service: fix webapps default option (#40657) 2018-06-10 20:10:01 +02:00
system Revert "Merge pull request #38263 from lopsided98/grub-initrd-secrets" 2018-06-07 14:24:59 +02:00
tasks zfs: Fix "zfs-sync" for modern systemd 2018-06-09 01:17:04 +01:00
testing nixos/tests: set default stateVersion in test VMs 2018-05-14 00:01:15 +02:00
virtualisation Merge pull request #41311 from AmineChikhaoui/fix-gce-fetch-ssh 2018-06-04 11:38:07 +02:00
module-list.nix nixos/autosuggestions: add module (#41397) 2018-06-10 23:08:50 +02:00
rename.nix nixos/autosuggestions: add module (#41397) 2018-06-10 23:08:50 +02:00