Permalink
Browse files

switched back to my old-style zshrc

  • Loading branch information...
1 parent 1bb0935 commit eb7db09e1b6502a23d35464c0dcb7073770f3362 @graysky2 committed Jan 19, 2013
Showing with 12 additions and 6 deletions.
  1. +2 −2 shell/.aliases
  2. +10 −4 shell/.zshrc
View
@@ -7,8 +7,8 @@ alias aur="aurploader -r -l ~/.aurploader"
alias bb="sudo bleachbit --clean system.cache system.localizations system.trash && sudo cacheclean 2"
alias gitc="git commit -av ; git push -u origin master"
alias pacman="pacman-color"
-alias pp="sudo pacman-color -Syu"
-alias upp='reflector -c "United States" -a 1 -f 3 --sort rate --save /etc/pacman.d/mirrorlist && cat /etc/pacman.d/mirrorlist && sudo pacman-color -Syyu'
+alias pp="sudo pacman-color -Syu && cower --color=always -u"
+alias upp='reflector -c "United States" -a 1 -f 3 --sort rate --save /etc/pacman.d/mirrorlist && cat /etc/pacman.d/mirrorlist && sudo pacman-color -Syyu && cower --color=always -u'
alias fpp="echo 'Server = http://mirror.us.leaseweb.net/archlinux/\$repo/os/\$arch' > /etc/pacman.d/mirrorlist && pp"
alias vup="vbox-headless-daemon start"
alias vdo="vbox-headless-daemon stop"
View
@@ -1,11 +1,17 @@
-unalias j # keep autojump bound to j
-
# https://github.com/zsh-users/zsh-syntax-highlighting
[[ -f $HOME/.zsh-syntax-highlighting/zsh-syntax-highlighting.zsh ]] && . $HOME/.zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
-for i in aliases bashrc2 commonrc functions; do
+ZSH=$HOME/.zsh
+for config_file ($ZSH/lib/*.zsh) source $config_file # load zsh specific stuff
+
+for i in aliases bashrc2 commonrc functions zsh; do
[[ -f $HOME/.$i ]] && . $HOME/.$i;
done
-#PROMPT='%(!.%{$fg_bold[red]%}.%{$fg_bold[white]%}%n@)%m %{$fg_bold[blue]%}%(!.%1~.%~) %#%{$reset_color%} '
+PROMPT='%(!.%{$fg_bold[red]%}.%{$fg_bold[white]%}%n@)%m %{$fg_bold[blue]%}%(!.%1~.%~) %#%{$reset_color%} '
#PROMPT='%(!.%{$fg_bold[red]%}.%{$fg_bold[white]%}facade@)%m %{$fg_bold[blue]%}%(!.%1~.%~) %#%{$reset_color%} '
+
+REPORTTIME=5 # report about cpu-/system-/user-time of command if running longer than 5 seconds
+autoload -U compinit
+compinit -i
+zstyle ':completion:*' rehash yes

0 comments on commit eb7db09

Please sign in to comment.