| 1 | # If not running interactively, don't do anything |
| 2 | # [[ $- != *i* ]] && return |
| 3 | |
| 4 | # aliases |
| 5 | alias ls='ls --color=auto' |
| 6 | PS1='[\u@\h \W]\$ ' |
| 7 | alias mpv="mpv --ytdl-format mp4" |
| 8 | alias mv="mv -iv" |
| 9 | alias cp="cp -iv" |
| 10 | alias scl=systemctl |
| 11 | alias jcl=journalctl |
| 12 | alias m="mbsync csclub; mbsync uwaterloo; mbsync amin" |
| 13 | alias best="youtube-dl -f best" |
| 14 | |
| 15 | aur() { |
| 16 | cd ~/usr/builds |
| 17 | git clone https://aur.archlinux.org/${1}.git |
| 18 | cd ${1} |
| 19 | } |
| 20 | |
| 21 | # i-beam cursor |
| 22 | # echo -e "\033[5 q" # blinking |
| 23 | echo -e "\033[6 q" # non-blinking |
| 24 | |