Created
March 16, 2015 21:32
-
-
Save wrunk/c0e055ef546df68b512a to your computer and use it in GitHub Desktop.
Some of my bashrc/profile settings
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# --------------------------------------------------------------------------- # | |
# These are git settings from: | |
# http://neverstopbuilding.net/gitpro/ | |
# --------------------------------------------------------------------------- # | |
#source ~/.git-completion.bash | |
#source ~/.git-prompt.sh | |
# | |
# Settings for python virtual envs and the python virtualenvwrapper | |
# | |
#export WORKON_HOME=~/pyvenvs | |
#source /usr/local/bin/virtualenvwrapper.sh | |
MAGENTA="\[\033[0;35m\]" | |
YELLOW="\[\033[0;33m\]" | |
BLUE="\[\033[34m\]" | |
LIGHT_GRAY="\[\033[0;37m\]" | |
CYAN="\[\033[0;36m\]" | |
GREEN="\[\033[0;32m\]" | |
GIT_PS1_SHOWDIRTYSTATE=true | |
export LS_OPTIONS='--color=auto' | |
export CLICOLOR='Yes' | |
export LSCOLORS=gxfxbEaEBxxEhEhBaDaCaD | |
export PS1=$LIGHT_GRAY"\u@\h"$BLUE" \w"$GREEN": " | |
# --------------------------------------------------------------------------- # | |
# Aliasies | |
# --------------------------------------------------------------------------- # | |
alias ls="ls -lah" | |
alias l="ls -lart" | |
# Make find easier! | |
# Local find | |
fin () { find . -iname "*$1*"; } | |
# Absolute find | |
fia () { sudo find / -iname "*$1*"; } | |
alias gp="git pull --rebase" | |
alias grep='grep --color=auto' | |
# Dont write gat damn pyc files! | |
export PYTHONDONTWRITEBYTECODE=true | |
export GREP_OPTIONS='--color=auto' | |
export NODE_PATH=/usr/local/lib/node_modules/ | |
# Hash Bistory | |
# don't put duplicate lines in the history. See bash(1) for more options | |
# don't overwrite GNU Midnight Commander's setting of `ignorespace'. | |
export HISTCONTROL=$HISTCONTROL${HISTCONTROL+,}ignoredups | |
# ... or force ignoredups and ignorespace | |
export HISTCONTROL=ignoreboth | |
# Save LOTS of history! | |
HISTFILESIZE=1000000 | |
# --------------------------------------------------------------------------- # | |
# APPENGINE RELATED | |
# --------------------------------------------------------------------------- # | |
# GAE_BIN is the base directory of the gae sdk | |
export GAE_BIN="/Users/<user>/lib/google_appengine" | |
export GAE_GO_BIN="/Users/<user>/lib/go_appengine" | |
# WE add the sdk base to our path so we can just dev_appserver and appcfg. | |
export PATH="$GAE_BIN:$GAE_GO_BIN:$PATH" | |
# Go. This path is set by brew install | |
#export GOROOT=/usr/local/opt/go/libexec | |
# Support for golang | |
export GOROOT=/usr/local/go | |
export GOPATH=~/go_workspace | |
export PATH=$PATH:$GOROOT/bin | |
# This will put your own go bins on your path | |
export PATH=$PATH:$GOPATH/bin |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment