You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

50 lines
1.3 KiB

9 years ago
  1. #
  2. # Using Oh My ZSH
  3. # https://github.com/robbyrussell/oh-my-zsh
  4. #
  5. export ZSH=$HOME/.oh-my-zsh
  6. # Best theme ever!
  7. ZSH_THEME="ys"
  8. # System variables for tmux configuration
  9. export ZSH_TMUX_AUTOSTART=false
  10. export ZSH_TMUX_AUTOSTART_ONCE=true
  11. # Used zsh plugins
  12. plugins=(archlinux systemd common-aliases history screen tmux wd git git-extras mercurial)
  13. # Let's update and do other goodness
  14. source $ZSH/oh-my-zsh.sh
  15. # Make sure we're in en_us UTF8
  16. export LANG=en_US.UTF-8
  17. # All Hail VIM
  18. export EDITOR='vim'
  19. # Don't use the embedded shell time. Use GNU time.
  20. alias time="/usr/bin/time"
  21. # Alias for GNU Time with pretty output.
  22. alias ti="/usr/bin/time --format='Command:%C \nElapsed Time: %E\nUser Time: %U\nSystem Time: %S\nCPU: %P\nMax Memory: %MKb\nAverage Memory: %KKb\nAverage Unshared Memory: %DKb\nNumber of Swaps: %W\nNumber of Waits: %w\nExit Status: %x'"
  23. if [ -d "$HOME/.linuxbrew" ]; then
  24. export PATH="$HOME/.linuxbrew/bin:$PATH"
  25. export MANPATH="$HOME/.linuxbrew/share/man:$MANPATH"
  26. export INFOPATH="$HOME/.linuxbrew/share/info:$INFOPATH"
  27. fi
  28. # Go Setup
  29. export GOPATH="$HOME/go"
  30. export PATH="$PATH:$HOME/go/bin"
  31. if [ -f "$HOME/.update_dotfiles.sh" ]; then
  32. /usr/bin/env sh $HOME/.update_dotfiles.sh
  33. fi
  34. # rbenv setup
  35. if [ -d "$HOME/.rbenv" ]; then
  36. export PATH="$HOME/.rbenv/bin:$PATH"
  37. eval "$(rbenv init -)"
  38. fi