f4fa2702e351b7cdebbe4eb40370a91b2ec102ff
1 # If not running interactively, don't do anything else
2 [[ $
- != *i
* ]] && return
5 # echo -e "\033[5 q" # blinking
6 echo -e "\033[6 q" # non-blinking
13 HISTCONTROL
=ignoreboth
14 HISTIGNORE
='ls:l:s:g:[bf]g:history'
15 HISTTIMEFORMAT
='%F %T '
19 alias ls='ls --color=auto'
20 alias l
='ls -lh' # long format and human-readable sizes
21 alias ll
='l -A' # long format, all files
23 include
/usr
/share
/bash-completion
/completions
/git
&& __git_complete g _git
24 alias mpv
="mpv --ytdl-format mp4"
29 alias m
="mbsync csclub; mbsync uwaterloo; mbsync amin"
30 alias best
="youtube-dl -f best"
34 git clone https
://aur.archlinux.org
/${1}.git
39 include
/usr
/share
/fzf
/key-bindings.bash
40 include
/usr
/share
/fzf
/completion.bash
42 # from https://unix.stackexchange.com/a/55935
44 cwd
=$
(sed -e "s:$HOME:~:" -e "s:\(\.\?[^/]\)[^/]*/:\1/:g" <<<$PWD)
47 PS1
="\u@\h \$(a_prompt)> "