Guest User

Untitled

a guest
May 18th, 2019
183
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.91 KB | None | 0 0
  1. export ZSH="/home/whoami/.oh-my-zsh"
  2. export EDITOR='vim'
  3.  
  4. plugins=(
  5.      git
  6.      colored-man-pages
  7.      extract
  8.      sudo
  9. )
  10.  
  11. ZSH_THEME="robbyrussell"
  12.  
  13. source $ZSH/oh-my-zsh.sh
  14.  
  15. setopt auto_cd
  16. setopt completeinword
  17. setopt nobeep
  18. setopt hist_ignore_dups
  19. setopt inc_append_history
  20. setopt hist_reduce_blanks
  21.  
  22. # pacman
  23. alias upgrade='yay -Syyuu --noconfirm'
  24. alias pacrm='yay -Rcnsu'
  25. alias pacinstall='yay -S'
  26. alias pacsearch='yay -Ss'
  27. alias pacls='yay -Qqe' # List all installed packages
  28. alias paclsf='yay -Qm' # List all foreign (AUR) packages
  29. alias paclso='yay -Qdtq' # List all orphaned packages
  30. alias pacrmo='sudo pacman -Rscnu $(pacman -Qtdq)' # Remove orphans
  31. alias pacclear='sudo pacman -Scc' # Clear package cache
  32.  
  33. # aliases
  34. alias cls='clear'
  35. alias grep='grep --color'
  36. alias mkdir='mkdir -p'
  37. alias df='df -hT'
  38.  
  39. if [[ ! $DISPLAY && $XDG_VTNR -eq 1 ]]; then
  40.     exec startx >/dev/null 2>&1
  41. fi
Advertisement
Add Comment
Please, Sign In to add comment