From d05d9ba273e48effe2cfc4d3a8d586d1ed04319f Mon Sep 17 00:00:00 2001 From: cerberus Date: Fri, 21 Nov 2025 18:29:07 +0100 Subject: [PATCH] added colored prompt --- nixos/modules/users/zsh.nix | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/nixos/modules/users/zsh.nix b/nixos/modules/users/zsh.nix index 92e574b..1fc60b2 100644 --- a/nixos/modules/users/zsh.nix +++ b/nixos/modules/users/zsh.nix @@ -22,11 +22,19 @@ "HIST_IGNORE_SPACE" "EXTENDED_GLOB" "CORRECT" + # "PROMPT_SUBST" ]; + shellInit = '' eval "$(fzf --zsh)" alias ..="cd .." alias ...="cd ../.." + bindkey -e + # export %# ' + ''; + + promptInit = '' + PS1='%{%F{green}%}%n@%m %{%F{blue}%}%~%{%f%}❯%{%F{white}%} %# ' ''; };