diff options
Diffstat (limited to 'bash/aliases.bash')
-rw-r--r-- | bash/aliases.bash | 19 |
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 |
4 | sudo_cmds=( | 4 | sudo_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 | ) |
12 | for cmd in "${sudo_cmds[@]}"; do | 12 | for cmd in "${sudo_cmds[@]}"; do |
13 | alias $cmd="sudo $cmd" | 13 | alias $cmd="sudo $cmd" |
14 | done | 14 | done |
15 | 15 | ||
16 | # LS | 16 | # LS |
@@ -20,7 +20,7 @@ alias ll='ls -l' | |||
20 | alias tree='tree -F' | 20 | alias tree='tree -F' |
21 | 21 | ||
22 | # make locally | 22 | # make locally |
23 | alias lake='make PREFIX=~/usr' | 23 | alias lake='make PREFIX=$HOME/usr ' |
24 | 24 | ||
25 | # bash meta | 25 | # bash meta |
26 | alias rebash='source ~/.bash_profile' | 26 | alias rebash='source ~/.bash_profile' |
@@ -31,5 +31,6 @@ alias emacs_goddamnit='pushd ~/.emacs.d;emacs --debug-init;popd' | |||
31 | # other | 31 | # other |
32 | alias radio=radish | 32 | alias radio=radish |
33 | if ! command -v fd >/dev/null 2>&1; then | 33 | if ! command -v fd >/dev/null 2>&1; then |
34 | alias fd=fdfind | 34 | alias fd=fdfind |
35 | fi | 35 | fi |
36 | |||