summaryrefslogtreecommitdiff
path: root/use-cases/development/zsh.nix
diff options
context:
space:
mode:
Diffstat (limited to 'use-cases/development/zsh.nix')
-rw-r--r--use-cases/development/zsh.nix14
1 files changed, 14 insertions, 0 deletions
diff --git a/use-cases/development/zsh.nix b/use-cases/development/zsh.nix
new file mode 100644
index 0000000..4db241d
--- /dev/null
+++ b/use-cases/development/zsh.nix
@@ -0,0 +1,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";
+ };
+}