helm/modules/shell/zsh.nix

32 lines
548 B
Nix
Raw Normal View History

2019-08-06 10:56:54 -07:00
{ config, pkgs, libs, ... }:
{
2020-01-12 15:17:35 -08:00
imports = [ ./tmux.nix ];
2020-01-12 15:17:17 -08:00
my = {
packages = with pkgs; [
2019-08-06 10:56:54 -07:00
zsh
nix-zsh-completions
2019-11-24 18:42:25 -08:00
bat
2019-08-06 10:56:54 -07:00
exa
2020-01-12 15:17:17 -08:00
fasd
2019-08-06 10:56:54 -07:00
fd
2019-11-26 14:00:28 -08:00
fzf
2019-08-06 10:56:54 -07:00
htop
2020-01-03 03:44:40 -08:00
tldr
2020-01-12 15:17:17 -08:00
tree
2019-08-06 10:56:54 -07:00
];
2020-01-12 15:17:17 -08:00
env.ZDOTDIR = "$XDG_CONFIG_HOME/zsh";
env.ZSH_CACHE = "$XDG_CACHE_HOME/zsh";
home.xdg.configFile."zsh" = { source = <my/config/zsh>; recursive = true; };
2019-08-06 10:56:54 -07:00
};
programs.zsh = {
enable = true;
enableCompletion = true;
enableGlobalCompInit = false; # I'll do it myself
promptInit = "";
};
}