1
0

zshrc 928 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. ### O H - M Y - Z S H C O N F I G ###
  2. ## Path to your oh-my-zsh installation.
  3. export ZSH=~/.oh-my-zsh
  4. export ZSH_CUSTOM=~/.zsh_custom
  5. # Set name of the theme to load.
  6. # Look in ~/.oh-my-zsh/themes/
  7. # Optionally, if you set this to "random", it'll load a random theme each
  8. # time that oh-my-zsh is loaded.
  9. ZSH_THEME="agnoster"
  10. # Device-specifig setup (ignored by git)
  11. # source local config first to overwrite default theme if wanted
  12. source .zsh_local
  13. plugins=(git pass brew)
  14. source $ZSH/oh-my-zsh.sh
  15. ### U S E R C O N F I G ###
  16. # homebrew sbin
  17. export PATH=/usr/local/sbin:$PATH
  18. # random string function
  19. random-string()
  20. {
  21. LC_CTYPE=C tr -dc A-Za-z0-9 < /dev/urandom | fold -w ${1:-32} | head -n 1
  22. }
  23. ### ALIASES ###
  24. # list directory in human readable (-h), listed (-l) way. Show all files (-a).
  25. # -F: display an indicator for special list entries (folder, links, etc...)
  26. alias l='ls -lhatr'
  27. eval $(thefuck --alias)