summaryrefslogtreecommitdiff
path: root/use-cases/development/zsh.nix
blob: 4db241d3f8fba02580f9f9670733c32d9583b336 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{ 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";
  };
}