-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.bash_aliases
42 lines (33 loc) · 987 Bytes
/
.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
32
33
34
35
36
37
38
39
40
41
42
#### Life would be too boring without shortcuts. ####
#### General stuff ####
alias ll='ls -l'
alias la='ls -A'
alias l='ls -CF'
alias grep='grep --color=auto'
alias fgrep='fgrep --color=auto'
alias egrep='egrep --color=auto'
#### Application shortcuts ####
alias hussh='ssh -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null'
alias aq='open -a Aquamacs\ Emacs'
alias mvi=mvim
alias ctags=`brew --prefix`/bin/ctags
## Emacs
alias ect='emacsclient -t'
alias ecc='emacsclient -c'
alias poe='open peepopen://$(pwd)?editor=Emacs'
#### git shortcuts ####
alias g=git
alias gl='git log --graph --pretty="format:%C(yellow)%h%Cblue%d%Creset %s %C(white) %an, %ar%Creset"'
alias gl='git log1'
alias gb='git branch'
alias gco='git commit'
alias gch='git checkout'
alias gd='git diff'
alias gdt='git difftool'
alias gm='git merge'
alias gmt='git mergetool'
alias gs='git status'
alias gsh='git show'
alias gst='git stash'
#### Flipkart specific ####
source $HOME/.bash_aliases_fk