diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2014-05-29 23:31:35 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2014-05-29 23:31:35 -0300 |
commit | 353a1f91e063108783d6d8391c7ff146aeecc6a3 (patch) | |
tree | ec0ea99877c0a3330ca9c363cc0f23327d5b3134 /zshrc.dot.link | |
parent | 9096c48d30e5678597558d2d16168cc42524eb7b (diff) | |
download | profile-353a1f91e063108783d6d8391c7ff146aeecc6a3.tar.gz profile-353a1f91e063108783d6d8391c7ff146aeecc6a3.tar.bz2 |
Zsh prompt
Diffstat (limited to 'zshrc.dot.link')
-rw-r--r-- | zshrc.dot.link | 9 |
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' |