Guest User

/home/az/.bashrc

a guest
Sep 29th, 2020
60
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.93 KB | None | 0 0
  1. #
  2. # ~/.bashrc
  3. #
  4.  
  5. # If not running interactively, don't do anything
  6. [[ $- != *i* ]] && return
  7.  
  8. alias ls='ls --color=auto'
  9. alias install="sudo pacman -S"
  10. alias uninstall="sudo pacman -R"
  11. # My mom is used to dos so I put cls for her :)
  12. alias cls="clear"
  13. alias "reload-desktop"="killall plasmashell && kstart5 plasmashell"
  14. alias sxhkdconfig='nano ~/.config/sxhkd/sxhkdrc'
  15. alias showlog-pkg-update='tail -8 /var/log/auto-package-download.log'
  16. alias lofi-play='mpv --vid=no --no-video $(youtube-dl -f 91 -g "https://www.youtube.com/watch?v=5qap5aO4i9A")'
  17.  
  18. play-720(){
  19.     url=$1
  20.         mpv $(youtube-dl -f 22 -g $url)
  21. }
  22. #Stream audio only through MPV
  23. play-audio(){
  24.     url=$1
  25.         mpv $(youtube-dl -f 140 -g $url)
  26. }
  27.  
  28. PS1="[\[\e[34m\]\u\[\e[m\]\[\e[31m\]@\[\e[m\]\[\e[32m\]\h\[\e[m\]]\W\[\e[36m\]\\$\[\e[m\] "
  29. #PS1='[\u@\h \W]\$ '
  30. export HISTCONTROL=ignorespace
  31.  
  32. pfetch | lolcat -t -p 1 -F 0.2
  33. source $HOME/.cargo/env
  34.  
Add Comment
Please, Sign In to add comment