forked from jawilson/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
bash_aliases
31 lines (25 loc) · 1.36 KB
/
bash_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
# ls
alias ls='ls --color=auto -h --group-directories-first'
alias ll='ls -alF'
alias la='ls -A'
alias l='ls -CF'
# grep
alias grep='grep --color=auto'
alias fgrep='fgrep --color=auto'
alias egrep='egrep --color=auto'
# flexget
alias "flexget"="$HOME/src/flexget/bin/flexget"
alias "flexget-log-tail"="tail -n 300 $HOME/.flexget/flexget.log | less "
alias "flexget-sort-tv"="sudo -u debian-deluged $HOME/src/flexget/bin/flexget -L verbose -c $HOME/.flexget/sorting.yml -l $HOME/.flexget/flexget-sorting.log execute --task Sort_Unpacked_TV_Shows --disable-advancement"
alias "flexget-sort-premieres"="sudo -u debian-deluged $HOME/src/flexget/bin/flexget -L verbose -c $HOME/.flexget/sorting.yml -l $HOME/.flexget/flexget-sorting.log execute --task Sort_Unpacked_TV_Premieres --disable-advancement"
alias "flexget-sort-movies"="sudo -u debian-deluged $HOME/src/flexget/bin/flexget -L verbose -c $HOME/.flexget/sorting.yml -l $HOME/.flexget/flexget-sorting.log execute --task Sort_Unpacked_Movies"
alias "flexget-sort-log-tail"="tail -n 300 $HOME/.flexget/flexget-sorting.log | less "
# ack-grep
alias "ack"="ack-grep"
# git
alias gdiff='git diff --no-index'
alias gitroot='cd "$(git rev-parse --show-toplevel)"'
# screen
alias screen='rm -f $HOME/.ssh-auth-sock; ln -sf $SSH_AUTH_SOCK $HOME/.ssh-auth-sock; env SSH_AUTH_SOCK=$HOME/.ssh-auth-sock screen'
#awk
alias dedup="awk '!seen[$0]++'"