summaryrefslogtreecommitdiff
path: root/home/zsh/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'home/zsh/default.nix')
-rw-r--r--home/zsh/default.nix25
1 files changed, 25 insertions, 0 deletions
diff --git a/home/zsh/default.nix b/home/zsh/default.nix
new file mode 100644
index 0000000..1b8ce16
--- /dev/null
+++ b/home/zsh/default.nix
@@ -0,0 +1,25 @@
+{ pkgs, config, lib, ... }:
+
+{
+ imports =
+ [
+ ./plugins.nix
+ ];
+
+ 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;
+ };
+}