-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy pathprofile
More file actions
45 lines (35 loc) · 1.49 KB
/
Copy pathprofile
File metadata and controls
45 lines (35 loc) · 1.49 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
# ~/.profile: executed by the command interpreter for login shells.
# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login exists.
export PATH=/usr/local/bin:/usr/local/sbin:/usr/local/mysql/bin:/opt/local/bin:/opt/local/sbin:~/Work/sbt/bin:$PATH
# don't put duplicate lines in the history. See bash(1) for more options
export HISTCONTROL=ignoredups
# ... and ignore same sucessive entries.
export HISTCONTROL=ignoreboth
export HISTFILESIZE=1000000000
export HISTSIZE=1000000
export ARCHFLAGS="-arch x86_64"
#export LDFLAGS=-L/usr/local/Cellar/openssl/1.0.1c/lib
#export CPPFLAGS=-I/usr/local/Cellar/openssl/1.0.1c/include
# Color prompt with showing current git branch
GIT_PS1_SHOWDIRTYSTATE=true
export GIT_PS1_SHOWUNTRACKEDFILES=true
export GIT_PS1_SHOWSTASHSTATE=true
PS1='\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;33m\]\w\[\033[00m\]\[\033[01;31m\]$(__git_ps1 " {%s}")\[\033[00m\]\$ '
ssh-add ~/.ssh/csf.pem > /dev/null 2>&1
# Custom git aliases
alias gitk='gitk --all'
alias gitx='gitx --all'
# Other custom aliases
alias e='mate'
alias ls='ls -FG'
alias ll='ls -l'
alias refresh='cd && cd ~-'
alias be='bundle exec'
alias bop='bundle open'
alias wip='bundle exec cucumber -p wip'
alias rbp_report='rails_best_practices -f html --with-textmate && open rails_best_practices_output.html'
# Enable programmable completion features for ports
if [ -f `brew --prefix`/etc/bash_completion ]; then
. `brew --prefix`/etc/bash_completion
fi
PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting