about summary refs log tree commit diff stats
path: root/bash/aliases.bash
diff options
context:
space:
mode:
Diffstat (limited to 'bash/aliases.bash')
-rw-r--r--bash/aliases.bash19
1 files changed, 10 insertions, 9 deletions
diff --git a/bash/aliases.bash b/bash/aliases.bash index 7b5ed55..e29f62a 100644 --- a/bash/aliases.bash +++ b/bash/aliases.bash
@@ -2,15 +2,15 @@
2 2
3# sudo 3# sudo
4sudo_cmds=( 4sudo_cmds=(
5 shutdown 5 shutdown
6 reboot 6 reboot
7 halt 7 halt
8 mount 8 mount
9 umount 9 umount
10 visudo 10 visudo
11) 11)
12for cmd in "${sudo_cmds[@]}"; do 12for cmd in "${sudo_cmds[@]}"; do
13 alias $cmd="sudo $cmd" 13 alias $cmd="sudo $cmd"
14done 14done
15 15
16# LS 16# LS
@@ -20,7 +20,7 @@ alias ll='ls -l'
20alias tree='tree -F' 20alias tree='tree -F'
21 21
22# make locally 22# make locally
23alias lake='make PREFIX=~/usr' 23alias lake='make PREFIX=$HOME/usr '
24 24
25# bash meta 25# bash meta
26alias rebash='source ~/.bash_profile' 26alias rebash='source ~/.bash_profile'
@@ -31,5 +31,6 @@ alias emacs_goddamnit='pushd ~/.emacs.d;emacs --debug-init;popd'
31# other 31# other
32alias radio=radish 32alias radio=radish
33if ! command -v fd >/dev/null 2>&1; then 33if ! command -v fd >/dev/null 2>&1; then
34 alias fd=fdfind 34 alias fd=fdfind
35fi 35fi
36