-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathbash_profile
More file actions
executable file
·84 lines (68 loc) · 1.48 KB
/
bash_profile
File metadata and controls
executable file
·84 lines (68 loc) · 1.48 KB
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
81
82
83
84
export LC_ALL=en_US.UTF-8
export LANG=en_US.UTF-8
export EDITOR='vim'
[[ -s $HOME/.tmuxinator/scripts/tmuxinator ]] && source $HOME/.tmuxinator/scripts/tmuxinator
source /usr/local/etc/bash_completion.d/git-completion.bash
source /usr/local/etc/bash_completion.d/git-prompt.sh
if [ -f $(brew --prefix)/etc/bash_completion.d ]; then
. $(brew --prefix)/etc/bash_completion.d
fi
GIT_PS1_SHOWDIRTYSTATE=true
export PS1='\w$(__git_ps1 "(%s)")$ '
export CLICOLOR=1
if [ -s ~/.bash_aliases ] ; then source ~/.bash_aliases ; fi
function hs(){
python -m SimpleHTTPServer "$@"
}
function gci()
{
git commit -a -m "$@"
}
function glog()
{
git log -n10 --graph --date=local --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%ad) %C(bold blue)<%an>%Creset' "$@"
}
function gco()
{
git co "$@"
}
function push()
{
git push -u
}
function pull()
{
git pull -u
}
function log()
{
> log/development.log
tail -f -n200 log/development.log
}
function kmux()
{
tmux kill-session -t "$@"
}
function mux()
{
tmuxinator start "$@"
}
function pgr()
{
pg_restore --verbose --clean --no-acl --no-owner -h localhost "$@"
}
function pgd()
{
pg_dump -Fc --no-acl --no-owner -h localhost "$@"
}
function refresh_dns()
{
sudo killall -HUP mDNSResponder
}
export PATH="$HOME/.rbenv/bin:$HOME/.rbenv/shims:$PATH"
eval "$(rbenv init -)"
export PATH=$PATH:$GOPATH/bin
export PATH="/usr/local/sbin:$PATH"
export PYENV_ROOT="$HOME/.pyenv"
export PATH="$PYENV_ROOT/bin:$PATH"
eval "$(pyenv init -)"