1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-22 05:31:22 +00:00
nixpkgs/nixos/modules/programs/zsh
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
..
oh-my-zsh.nix oh-my-zsh module: reword & fix manual build 2018-01-16 21:02:54 +01:00
zinputrc
zsh-autoenv.nix zsh-autoenv: init at 2017-12-16 (#34932) 2018-02-14 06:31:59 +00:00
zsh-autosuggestions.nix nixos/autosuggestions: add module (#41397) 2018-06-10 23:08:50 +02:00
zsh-syntax-highlighting.nix nixos/zsh-syntax-highlighting: refactor 2017-10-09 23:30:10 +02:00
zsh.nix nixos/autosuggestions: add module (#41397) 2018-06-10 23:08:50 +02:00