summaryrefslogtreecommitdiffstats
path: root/.bashrc
blob: 04cacb6172c6948fbc4b8b357d419781d75d8c8b (about) (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# If not running interactively, don't do anything
# [[ $- != *i* ]] && return

# aliases
alias ls='ls --color=auto'
PS1='[\u@\h \W]\$ '
alias mpv="mpv --ytdl-format mp4"
alias mv="mv -iv"
alias cp="cp -iv"
alias scl=systemctl
alias jcl=journalctl
alias m="mbsync csclub; mbsync uwaterloo; mbsync amin"
alias best="youtube-dl -f best"

aur() {
   cd ~/usr/builds
   git clone https://aur.archlinux.org/${1}.git
   cd ${1}
}

# i-beam cursor
# echo -e "\033[5 q"              # blinking
echo -e "\033[6 q"              # non-blinking