-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathalias
52 lines (42 loc) · 1.11 KB
/
alias
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
alias df='df -mh -x supermount'
alias du='du -h'
alias less='less -M'
alias ls='ls -F --group-directories-first'
alias ll='ls -lh'
alias la='ls -A'
alias l='ls -CF'
alias ls-l='ls -l'
alias ..='cd ..'
alias ...='cd ../..'
alias cd..='cd ..'
alias mc='LANG=C mc'
alias grep='grep --colour=auto'
# Apparently -s is invalid option in BASH
#alias -s {avi,mpeg,mpg,mov,m2v}=mplayer
#alias -s {odt,doc,sxw,rtf}=openoffice.org
#alias -s pdf=xpdf
#alias apt='sudo apt-get install'
alias apt='sudo apt-get'
alias g='gvim --remote-silent'
# git aliases
alias gi='git commit'
alias gm='git commit -m'
alias gma='git commit -am'
alias gs='git status'
alias gd='git diff'
alias gdc='git diff --cached'
alias ga='git add'
alias gp='git pull'
alias gl='git log'
alias gb='git branch'
alias gc='git checkout'
# repo aliases
alias rs='repo sync'
alias rst='repo status'
# Local alias definitions.
# You may want to put all your additions into a separate file like
# ~/.alias.local, instead of adding them here directly.
# See /usr/share/doc/bash-doc/examples in the bash-doc package.
if [ -f ~/.alias.local ]; then
. ~/.alias.local
fi