From d9b468e3bc68fc931c45e831344bc4d8929b21ee Mon Sep 17 00:00:00 2001 From: Tim Keller Date: Sun, 12 Jan 2025 16:31:11 -0600 Subject: nix-shell zscript --- zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'zshrc') diff --git a/zshrc b/zshrc index f12c3c2..437dd8e 100755 --- a/zshrc +++ b/zshrc @@ -7,7 +7,7 @@ for zscript in "$XDG_CONFIG_HOME/zsh/zscripts"{/[^\!]*.zsh,/hosts/*.$HOST.zsh,/! # Colors! + Prompt autoload -U colors && colors -[ -z "$PS1OVERRIDE" ] && PS1="%B%F{${colbr:-red}}[%F{${colname:-yellow}}%n%F{${colat:-green}}@%F{${colhost:-blue}}%m %b%F{${coljobs:-white}}%1(j.[%j] .)%F{${coldir:-magenta}}%U%~%u%F{${colbr:-red}}]%f%b%(!.#.$) " +[ -z "$PS1OVERRIDE" ] && PS1="${PS1PREFIX}%B%F{${colbr:-red}}[%F{${colname:-yellow}}%n%F{${colat:-green}}@%F{${colhost:-blue}}%m %b%F{${coljobs:-white}}%1(j.[%j] .)%F{${coldir:-magenta}}%U%~%u%F{${colbr:-red}}]%f%b%(!.#.$) " # Cd settings setopt AUTO_CD # `cd` is implied when path is entered -- cgit v1.2.3