From 353a1f91e063108783d6d8391c7ff146aeecc6a3 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Thu, 29 May 2014 23:31:35 -0300 Subject: Zsh prompt --- zshrc.dot.link | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'zshrc.dot.link') 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' -- cgit v1.2.3