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
..
2018-02-09 19:51:06 +00:00
2017-09-29 15:18:25 +01:00
2017-08-11 15:48:45 +00:00
2018-04-07 15:06:51 +02:00
2017-01-29 05:45:43 -06:00
2018-04-08 22:37:35 -04:00
2017-01-29 05:45:43 -06:00
2018-06-08 20:57:16 +02:00
2017-09-23 20:34:55 +02:00
2017-08-25 14:08:11 +02:00
2017-07-23 12:56:04 +03:00
2018-03-12 15:13:31 +11:00
2017-09-29 15:01:21 +01:00
2018-02-09 19:51:06 +00:00
2018-01-04 09:58:21 +01:00