aboutsummaryrefslogtreecommitdiff
path: root/zshrc.dot.link
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-05-29 23:31:35 -0300
committerSilvio Rhatto <rhatto@riseup.net>2014-05-29 23:31:35 -0300
commit353a1f91e063108783d6d8391c7ff146aeecc6a3 (patch)
treeec0ea99877c0a3330ca9c363cc0f23327d5b3134 /zshrc.dot.link
parent9096c48d30e5678597558d2d16168cc42524eb7b (diff)
downloadprofile-353a1f91e063108783d6d8391c7ff146aeecc6a3.tar.gz
profile-353a1f91e063108783d6d8391c7ff146aeecc6a3.tar.bz2
Zsh prompt
Diffstat (limited to 'zshrc.dot.link')
-rw-r--r--zshrc.dot.link9
1 files changed, 4 insertions, 5 deletions
diff --git a/zshrc.dot.link b/zshrc.dot.link
index 0b8c1f1..0255a66 100644
--- a/zshrc.dot.link
+++ b/zshrc.dot.link
@@ -1,9 +1,9 @@
# Set up the prompt
+autoload -Uz promptinit && promptinit
+autoload -U colors && colors
+PROMPT="%{$fg[green]%}%? %{$fg[cyan]%}$(date +%Y%m%d) %* %{$fg[yellow]%}%n@%m%{$reset_color%}:%{$fg[cyan]%}%~%{$reset_color%} %# "
-autoload -Uz promptinit
-promptinit
-prompt adam1
-
+# Set history
setopt histignorealldups sharehistory
# Use emacs keybindings even if our EDITOR is set to vi
@@ -35,6 +35,5 @@ zstyle ':completion:*' menu select=long
zstyle ':completion:*' select-prompt %SScrolling active: current selection at %p%s
zstyle ':completion:*' use-compctl false
zstyle ':completion:*' verbose true
-
zstyle ':completion:*:*:kill:*:processes' list-colors '=(#b) #([0-9]#)*=0=01;31'
zstyle ':completion:*:kill:*' command 'ps -u $USER -o pid,%cpu,tty,cputime,cmd'