summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStefan Ritter <xeno@thehappy.de>2011-08-03 10:32:59 +0200
committerStefan Ritter <xeno@thehappy.de>2011-08-03 10:32:59 +0200
commit67946cca181b6923fda5a1ab769b8d8cbea4791a (patch)
tree235746217b5bbb4b9ee3ccc482bb13dfd705f608
parent3416f95ee8f1f31fdea1cac82cfda65f9b4969ab (diff)
Add zsh function for date to prompt
-rw-r--r--zsh/zshrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/zsh/zshrc b/zsh/zshrc
index d52896e..e1f2aae 100644
--- a/zsh/zshrc
+++ b/zsh/zshrc
@@ -1,4 +1,4 @@
-PROMPT="%F{red}$(date +%H:%M) %F{white}%~%(1v.%F{green}%1v%f.)%F{red}%2v%f %% "
+PROMPT="%F{red}%D{%k:%M} %F{white}%~%(1v.%F{green}%1v%f.)%F{red}%2v%f %% "
zstyle ':completion:*' special-dirs true
zstyle ':completion:*:*:kill:*' menu yes select