Guest

Untitled

By: a guest on Jan 28th, 2012  |  syntax: None  |  size: 1.79 KB  |  hits: 15  |  expires: Never
download  |  raw  |  embed  |  report abuse
Copied
  1.  
  2. # Lines configured by zsh-newuser-install
  3. HISTFILE=~/.histfile
  4. HISTSIZE=1000
  5. SAVEHIST=1000
  6. setopt appendhistory autocd nomatch notify
  7. unsetopt beep
  8. bindkey -e
  9. # End of lines configured by zsh-newuser-install
  10.  
  11.  
  12. # The following lines were added by compinstall
  13. #zstyle :compinstall filename '/home/kisscoolman/.zshrc'
  14. zstyle ':completion:*:sudo:*' command-path /usr/local/sbin /usr/local/bin \
  15.                             /usr/sbin /usr/bin /sbin /bin /usr/X11R6/bin
  16.  
  17.  
  18. autoload -U compinit
  19. compinit
  20.  
  21. autoload -U promptinit
  22. promptinit
  23. prompt walters
  24. #export PROMPT="%{${fg[green]}%}%n%{${fg[blue]}%}@%B%m%b> "
  25.  
  26. export PS1='[%B%n@%m%b][%B%~%b] '
  27. export RPS1='[%B%T%b]'
  28.  
  29. # alias :
  30.  
  31. alias l='ls -l --color'
  32. alias ll='ls -Al --color'
  33. alias e='mcedit'
  34. alias m='less'
  35. alias ap2r='ap2r-dev | ap2r-prod'
  36. alias ap2r-dev='apache2ctl -f /etc/apache2/apache2-dev.conf -k restart'
  37. alias apache2ctl-dev='apache2ctl -f /etc/apache2/apache2-dev.conf -k $*'
  38. alias ap2r-prod='apache2ctl -f /etc/apache2/apache2-prod.conf -k restart'
  39. alias apache2ctl-prod='apache2ctl -f /etc/apache2/apache2-prod.conf -k $*'
  40. alias ap2r-affi='apache2ctl -f /etc/apache2/apache2-affi.conf -k restart'
  41. alias apache2ctl-affi='apache2ctl -f /etc/apache2/apache2-affi.conf -k $*'
  42.  
  43. alias maj='apt-get update && apt-get dist-upgrade'
  44. alias i='apt-get install'
  45. alias r='apt-get remove'
  46. alias x='tar xzvf'
  47. alias xj='tar xjvf'
  48. alias c='tar czvf'
  49. alias cj='tar cjvf'
  50. alias oracle='/usr/lib/oracle/xe/app/oracle/product/10.2.0/server/config/scripts/oracle-xe'
  51. alias sqlplus='/usr/lib/oracle/xe/app/oracle/product/10.2.0/client/bin/sqlplus'
  52.  
  53.  
  54.  
  55. case $TERM in (xterm*|rxvt)
  56.         precmd () { print -Pn "\e]0;%n@%m: %~\a" }
  57.         preexec () { print -Pn "\e]0;%n@%m: $1\a" }
  58.         ;;
  59. esac
  60.  
  61. # End of lines added by compinstall