-
Notifications
You must be signed in to change notification settings - Fork 1
/
aliases
65 lines (56 loc) · 1.39 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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# Shortcuts
alias a="$EDITOR $BASH_KIT_ALIASES"
alias ip="printf 'Your IP Address is: '; curl http://icanhazip.com/"
# ls
alias ls="ls $LS_OPTIONS"
alias l="ls $LS_OPTIONS"
alias ll="ls $LS_OPTIONS -lh"
alias la="ls $LS_OPTIONS -a"
alias lla="ls $LS_OPTIONS -la"
alias lt="ls $LS_OPTIONS -lt"
alias ld="ls $LS_OPTIONS -h */"
alias lc="ls $LS_OPTIONS -1 | wc -l"
# Remappings
alias grep="grep $GREP_OPTIONS"
alias df="df -h"
alias c="clear"
alias h="history"
alias g="ack"
alias v="vim"
# git
alias gc='ci'
alias ga='add'
alias gau='add -u'
alias pull='git pull'
alias gpom='git push origin master'
alias git-color='git config --global color.ui true'
alias switch-origin='git remote rm origin; git remote add origin'
alias difc='dif --cached'
alias clone='git clone'
alias co='git checkout'
alias branch='git checkout -b'
alias stash='git stash save'
alias unstash='git stash apply'
alias list='git stash list'
alias show='git show'
alias reset='git reset'
# bzr
alias unshelve='bzr unshelve'
alias shelve='bzr shelve'
# VCS
alias praise="blame"
alias dif-count="dif | count_changes"
# Drush
alias cc='drush cc all'
alias cct='drush cc theme'
alias f='drush features'
alias fu='drush features-update -y'
alias fr='drush features-revert -y'
# Safety net
alias rm='rm -i'
alias rr="rm -ri"
alias cp='cp -i'
alias mv='mv -i'
# Scripts
alias sql="$BASH_KIT_DIR/bin/sql.sh"
alias prepare="$BASH_KIT_DIR/bin/prepare.sh"