aboutsummaryrefslogtreecommitdiffstats
path: root/zsh
diff options
context:
space:
mode:
Diffstat (limited to 'zsh')
-rw-r--r--zsh/default.nix10
-rw-r--r--zsh/zshrc4
2 files changed, 14 insertions, 0 deletions
diff --git a/zsh/default.nix b/zsh/default.nix
new file mode 100644
index 0000000..ba93024
--- /dev/null
+++ b/zsh/default.nix
@@ -0,0 +1,10 @@
+{ ... }:
+
+{
+ programs.zsh = {
+ enable = true;
+ dotDir = ".config/zsh";
+ history.path = "$HOME/.cache/zsh/history";
+ initExtra = builtins.readFile ./zshrc;
+ };
+}
diff --git a/zsh/zshrc b/zsh/zshrc
new file mode 100644
index 0000000..dc0c250
--- /dev/null
+++ b/zsh/zshrc
@@ -0,0 +1,4 @@
+PROMPT='%F{red}%B┌[%b%F{green}%m%F{red}%B@%b%F{cyan}%n %F{blue}%~%F{red}%B]
+%F{red}â””>%b%f '
+
+autoload -U colors && colors