-
Notifications
You must be signed in to change notification settings - Fork 1
/
aliases
50 lines (39 loc) · 1.08 KB
/
aliases
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
#! /bin/bash
##### Show Colors ls #####
if [[ `uname` == 'Linux' ]]; then
export LS_OPTS='--color=auto'
fi
##### Baseline exports #####
export dev="$HOME/dev"
export blog="$HOME/blog"
export personal_dev="$dev/tabfugnic"
export dotfiles="$dev/dotfiles"
export tabfugnic_dev="$dev/tabfugnic"
export flo_dev="$dev/FlorenceHC"
export sapt="sudo apt"
##### Directory Aliases #####
alias blog='cd $blog'
alias dev='cd $dev'
alias dotfiles='cd $dotfiles'
alias tab='cd $tabfugnic_dev'
alias web='cd $WEB_PROJECT_DIR'
alias ext='cd $EXT_PROJECT_DIR'
alias flo='cd $flo_dev'
alias enyc='cd $dev/emacsnyc/emacsnyc.github.io'
##### tar Shortcuts #####
alias tbunzip='tar xvjf'
alias tgunzip='tar xvzf'
alias tun='tar xvf'
##### Aptitude Shortcuts #####
alias sai='$sapt install'
alias saud='$sapt update'
alias sadu='$sapt dist-upgrade'
alias saar='$sapt autoremove'
alias sar='$sapt remove'
alias sac='$sapt clean'
alias saac='$sapt autoclean'
alias cleanup='saar -y && saac && sac'
alias full_update='saud && sadu -y && cleanup'
# Misc Aliases
alias resp=". ~/.bash_profile"
alias ls="ls ${LS_OPTS}"