summaryrefslogtreecommitdiff
path: root/use-cases/zsh/default.nix
blob: ac88554719bc26810622964b8764a2ed57ee9eb0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
{ pkgs, config, ... }:

{
  programs.zsh = {
    enable = true;

    defaultKeymap = "viins";

    # Feeble attempt at cleaning up home directory.
    # TODO: dotDir = (pathRelativeTo config.xdg.configHome config.home) + "/zsh";
    dotDir = ".config/zsh";
    history.path = config.xdg.cacheHome + "/zsh/history";
  };

  programs.fzf = {
    enable = true;
    enableZshIntegration = true;
  };
}