blob: e29f62a0ae770c24a35a981f30907696d789bc11 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# Bash aliases
# sudo
sudo_cmds=(
shutdown
reboot
halt
mount
umount
visudo
)
for cmd in "${sudo_cmds[@]}"; do
alias $cmd="sudo $cmd"
done
# LS
alias ls='ls -F --color=never'
alias ll='ls -l'
# tree
alias tree='tree -F'
# make locally
alias lake='make PREFIX=$HOME/usr '
# bash meta
alias rebash='source ~/.bash_profile'
# Debugging
alias emacs_goddamnit='pushd ~/.emacs.d;emacs --debug-init;popd'
# other
alias radio=radish
if ! command -v fd >/dev/null 2>&1; then
alias fd=fdfind
fi
|