Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 59 lines (49 sloc) 1.879 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
# ~/.profile: executed by the command interpreter for login shells.
# This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login
# exists.
# see /usr/share/doc/bash/examples/startup-files for examples.
# the files are located in the bash-doc package.

# the default umask is set in /etc/profile; for setting the umask
# for ssh logins, install and configure the libpam-umask package.
#umask 022

# if running bash
if [ -n "$BASH_VERSION" ]; then
    # include .bashrc if it exists
    if [ -f "$HOME/.bashrc" ]; then
        . "$HOME/.bashrc"
    fi
export HISTCONTROL=ignoredups
    shopt -s histappend
    PROMPT_COMMAND='history -a'
    if [ -f "$HOME/.bash_aliases" ]; then
        . "$HOME/.bash_aliases"
    fi
fi

export JPY="$HOME/bin/tools/j2/j.py"
. ~/bin/tools/j2/j.sh

export GIT_EDITOR="vim"
export EDITOR="mvim"
export VISUAL="mvim"
export PAGER="most"

export PYTHONPATH="/usr/local/lib/python2.7/site-packages:/Library/Python/2.7/site-packages"
export NPM_PACKAGES="$HOME/.npm-packages"
export NODE_PATH="$NPM_PACKAGES/lib/node_modules:/usr/local/lib/node_modules:$NODE_PATH"
export PATH="$HOME/bin:/usr/local/bin:/usr/local/sbin:$NPM_PACKAGES/bin:$PATH"
unset MANPATH
export MANPATH="$NPM_PACKAGES/share/man:$(manpath)"

eval "$(rbenv init -)"
export DOCKER_HOST=127.0.0.1:32000

export COLUMNS
export PS1='\[\033[01;31m\]\u \[\033[00m\]\[\033[01;34m\]`short-path`\[\033[00m\]$(__git_ps1)\[\033[01;36m\]☠\[\033[00m\] '

if [ -d "/Users" ]; then
  # Mac OS X
  for FILE in /usr/local/etc/bash_completion.d/*; do
source $FILE
  done
alias ls='gls -F --color=auto'
  alias ll='gls -lagh --color=auto'
  alias hibernate_on='sudo pmset -a hibernatemode 5'
  alias hibernate_off='sudo pmset -a hibernatemode 3'

  export PATH="/usr/local/opt/coreutils/libexec/gnubin:$PATH"
  export MANPATH="/usr/local/opt/coreutils/libexec/gnuman:$MANPATH"
fi
Something went wrong with that request. Please try again.