forked from mishanga/cfgs
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.profile
80 lines (65 loc) · 1.65 KB
/
.profile
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
export NODE_PATH=
export PATH=$HOME/bin:/opt/local/bin:/opt/local/sbin:$PATH
export LANG=ru_RU.UTF-8
export BLOCKSIZE=K
export EDITOR=vim
export PAGER=less
export HISTSIZE=5000
alias zorg='xargs'
alias h='fc -l'
alias j='jobs'
alias ll='ls -laFo'
alias l='ls -l'
alias m=$PAGER
alias la='ls -la'
alias g='egrep -i'
alias vim='vim -O'
if [[ `which gmake` != '' ]]; then
alias make='gmake'
else
alias gmake='make'
fi
alias ga='git add'
alias gb='git branch'
alias go='git checkout'
alias gi='git ci'
alias gd='git di'
alias gds='git di --staged'
alias gm='git merge --no-ff'
alias gs='git st'
alias gl='git lol'
alias gp='git pull --rebase'
alias gt='git tag'
alias gr='git remote -v'
alias gh='git hist'
alias gc='git clone'
alias gmod="git status --porcelain | awk '{print \$2}'"
alias gmods="git status --porcelain | grep [MADRCU] | awk '{print \$2}'"
alias gvim="vim \`gmod\`"
alias gvims="vim \`gmods\`"
source ~/cfgs/git-completion.bash
alias sd='svn di | colordiff | less -R'
alias st='svn st'
alias sl='svn log | less'
# Misspells
alias lg='gl'
alias sclean="svn st | grep '? ' | awk '{print \$2}' | xargs rm -r"
alias pclean="svn up && gmake clean && sclean && rm -rf lego contrib configs && svn up"
export PS1="`whoami`@`hostname | sed 's/\..*//'`:\w > "
if [ "$TERM" != "dumb" ] && [ -x /usr/bin/dircolors ]; then
eval "`dircolors -b`"
alias ls='ls --color=auto'
alias grep='grep --color=auto'
alias fgrep='fgrep --color=auto'
alias egrep='egrep --color=auto'
else
alias ls='ls -G'
export LSCOLORS="Exfxcxdxbxegedabagacad"
fi
if [ -f /usr/local/etc/bash_completion ]; then
. /usr/local/etc/bash_completion
fi
_expand()
{
return 0;
}