forked from xarimanx/dotfiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprofile
60 lines (45 loc) · 1.84 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
export ARCHFLAGS="-arch x86_64"
# ~/.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:$PATH
export BUNDLER_EDITOR=mate
# 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 CC=gcc-4.2
export HISTFILESIZE=1000000000
export HISTSIZE=1000000
if [ -f `brew --prefix`/etc/bash_completion ]; then
. `brew --prefix`/etc/bash_completion
fi
GIT_PS1_SHOWDIRTYSTATE=true
PS1='\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;33m\]\w\[\033[00m\]\[\033[01;31m\]$(__git_ps1 " {%s}")\[\033[00m\]\$ '
alias gitx='gitx --all'
alias ruby='ruby -rubygems'
alias be='bundle exec'
alias wip='bundle exec cucumber -p wip'
# Custom git aliases
alias ga='git add'
alias gb='git branch'
alias gco='git checkout'
alias gk='git kompare'
alias gst='git status'
alias gitk='gitk --all'
alias e='mate'
alias ls='ls -F'
alias ll='ls -l'
alias refresh="cd && cd ~-"
# Enable completion for custom git aliases
complete -o default -o nospace -F _git_add ga
complete -o default -o nospace -F _git_branch gb
complete -o default -o nospace -F _git_checkout gco
complete -o default -o nospace -F _git_diff gk
source ~/.rails.bash
[[ -s "/Users/ariman/.rvm/scripts/rvm" ]] && source "/Users/ariman/.rvm/scripts/rvm" # Load RVM into a shell session *as a function*
##
# Your previous /Users/ariman/.profile file was backed up as /Users/ariman/.profile.macports-saved_2012-02-11_at_19:05:08
##
# MacPorts Installer addition on 2012-02-11_at_19:05:08: adding an appropriate PATH variable for use with MacPorts.
export PATH=/opt/local/bin:/opt/local/sbin:$PATH
# Finished adapting your PATH environment variable for use with MacPorts.