Advertisement
Guest User

Untitled

a guest
May 6th, 2012
30
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.88 KB | None | 0 0
  1. autoload -U compinit promptinit
  2. compinit
  3. promptinit
  4. zstyle ':completion:*' menu select
  5. zstyle ':completion:*:descriptions' format '%B%d%b'
  6. zstyle ':completion:*:warnings' format 'no matches'
  7. setopt hist_ignore_all_dups
  8. setopt hist_ignore_space
  9. setopt correctall
  10.  
  11. alias ls="ls --color -F"
  12. alias ll="ls --color -Fl"
  13.  
  14. export PS1="$(print '%{\e[1;32m%}%m%{\e[0m%} %{\e[1;33m%}%~%{\e[0m%}') %# "
  15. [[ `id -u` = 0 ]] && export PS1="$(print '%{\e[1;31m%}%m%{\e[0m%} %{\e[1;33m%}%~%{\e[0m%}') %# "
  16. export HISTSIZE=5000
  17. export HISTFILE=~/.history_zsh
  18. export SAVEHIST=4000
  19. export LC_ALL=en_GB.utf8
  20. export LANG=en_GB.utf8
  21. export LC_CTYPE=pl_PL.utf8
  22. export EDITOR="/usr/bin/vim"
  23.  
  24. bindkey '^A' beginning-of-line
  25. bindkey '^E' end-of-line
  26. bindkey "\e[3~" delete-char
  27.  
  28. setopt rmstarsilent
  29.  
  30. exec 2>>(while read line; do
  31. print '\e[91m'${(q)line}'\e[0m' > /dev/tty; print -n $'\0'; done &)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement