Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: NixOS/nixpkgs
base: 35ce5c1c8e52
Choose a base ref
...
head repository: NixOS/nixpkgs
compare: aa46b1ec0ecb
Choose a head ref
  • 1 commit
  • 4 files changed
  • 1 contributor

Commits on Jun 10, 2018

  1. 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
    Ma27 authored and xeji committed Jun 10, 2018
    Configuration menu
    Copy the full SHA
    aa46b1e View commit details
    Browse the repository at this point in the history