我先来:
pin='pip install -i http://pypi.douban.com/simple'
cd..='cd ..'
cd...='cd ../..'
cd....='cd ../../..'
cd.....='cd ../../../..'
gp='git push'
gup='git pull --rebase'
f='find . | grep --color'
g='find . | xargs grep --color -n'
m='make -j 8'
1
rick09 Dec 26, 2014
怎么可以少了 rm='rm -i'
|
2
Tink PRO rm = rm -rf /
|
3
ChiangDi Dec 26, 2014
alias ... "cd ../../"
alias .... "cd ../../../" alias ..... "cd ../../../../" alias rm "rm -i" alias cp "cp -i" alias mv "mv -i" alias s "subl" alias mux "tmuxinator" alias sl "ls" # git alias alias g "git" alias ga "git add" alias gc "git commit -v" alias gc! "git commit -v --amend" alias gp "git push" alias gcm "git checkout master" alias gst "git status" |
4
LazyZhu Dec 26, 2014
cd 为啥还是两个点?
推荐bash的pushd/popd,切换目录更方便 |
5
viator42 Dec 26, 2014 ll = ls -al
没有这个简直没法过. |
6
xzl380 Dec 26, 2014 |
7
ffffwh Dec 26, 2014
alias emcas=emacs
alias eamcs=emacs 。。。 |
8
vibbow Dec 26, 2014
alias cls=clear
|
9
vibbow Dec 26, 2014
alias dir=ls -alt
|
10
XiaoxiaoPu Dec 26, 2014
alias r='echo -ne "\033c"'
|
11
bingdian Dec 26, 2014 alias server="open http://localhost:8000 && python -m SimpleHTTPServer "
顺便再分享个 http://dotfiles.github.io/ |
12
iptux Dec 26, 2014
|
13
razrlele Dec 26, 2014
alias emacs="vim"
|
14
veapon Dec 26, 2014
|
15
veapon Dec 26, 2014 |
16
saber000 Dec 27, 2014
alias clr='printf "\ec"'
|
17
47jm9ozp Dec 27, 2014
.gitconfig里面
[alias] lg = log --all --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit -- |
18
R4rvZ6agNVWr56V0 Dec 27, 2014
alias site="curl -s -o /dev/null -w '%{http_code}'"
|
19
zhujinliang Dec 27, 2014
gohere="export GOPATH=`pwd`"
|
20
reverland Dec 27, 2014
~ type rot13
rot13 is an alias for tr '[A-Za-z]' '[N-ZA-Mn-za-m]' ~ type rot13r rot13r is an alias for tr '[N-ZA-Mn-za-m]' '[A-Za-z]' |