Skip to content

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
...
  • 2 commits
  • 8 files changed
  • 0 commit comments
  • 1 contributor
Showing with 75 additions and 0 deletions.
  1. +9 −0 .bash/aliases
  2. +26 −0 .bash/colors
  3. +5 −0 .bash/completion
  4. +10 −0 .bash/path
  5. +5 −0 .bash/prompt
  6. +3 −0 .bash/rbenv
  7. +8 −0 .bash/shell
  8. +9 −0 .bashrc
View
9 .bash/aliases
@@ -0,0 +1,9 @@
+#!/usr/bin/env bash
+
+alias bitch,=sudo
+alias simplehttpserver="python -m SimpleHTTPServer"
+
+alias gst="git status"
+
+alias gd='git diff'
+complete -o default -o nospace -F _git_diff gd
View
26 .bash/colors
@@ -0,0 +1,26 @@
+#!/bin/bash
+
+# Normal Colors
+GREEN=$'\e[0;32m'
+RED=$'\e[0;31m'
+BLUE=$'\e[0;34m'
+WHITE=$'\e[1;37m'
+BLACK=$'\e[0;30m'
+YELLOW=$'\e[0;33m'
+PURPLE=$'\e[0;35m'
+CYAN=$'\e[0;36m'
+GRAY=$'\e[1;30m'
+PINK=$'\e[37;1;35m'
+ORANGE=$'\e[33;40m'
+
+# Revert color back to the normal color
+NORMAL=$'\e[00m'
+
+# LIGHT COLORS
+LIGHT_BLUE=$'\e[1;34m'
+LIGHT_GREEN=$'\e[1;32m'
+LIGHT_CYAN=$'\e[1;36m'
+LIGHT_RED=$'\e[1;31m'
+LIGHT_PURPLE=$'\e[1;35m'
+LIGHT_YELLOW=$'\e[1;33m'
+LIGHT_GRAY=$'\e[0;37m'
View
5 .bash/completion
@@ -0,0 +1,5 @@
+#!/usr/bin/env bash
+
+if [ -f `brew --prefix`/etc/bash_completion ]; then
+ . `brew --prefix`/etc/bash_completion
+fi
View
10 .bash/path
@@ -0,0 +1,10 @@
+#!/usr/bin/env bash
+
+# Add Homebrew stuff to PATH
+if [ -d /usr/local/Cellar ]; then
+ export PATH=/usr/local/bin:$PATH
+ export PATH=$PATH:/usr/local/sbin
+fi
+
+# Setup some NODE_PATH stuff - is it even needed?!
+export NODE_PATH=$NODE_PATH:/usr/local/lib/node_modules
View
5 .bash/prompt
@@ -0,0 +1,5 @@
+#!/usr/bin/env bash
+
+GIT_PS1_SHOWDIRTYSTATE=true
+
+PS1='\[$LIGHT_RED\]\w\[$YELLOW\]$(__git_ps1 " (%s)") \[${LIGHT_BLUE}\][\j] \[${NORMAL}\]$ '
View
3 .bash/rbenv
@@ -0,0 +1,3 @@
+#!/usr/bin/env bash
+
+if which rbenv > /dev/null; then eval "$(rbenv init -)"; fi
View
8 .bash/shell
@@ -0,0 +1,8 @@
+#!/usr/bin/env bash
+
+set -o vi # Vi Bash command mode
+set -o notify # Notify immediatly on bg job completion
+
+export EDITOR=/usr/bin/vim # Vim as default editor
+
+export TERM=screen-256color
View
9 .bashrc
@@ -0,0 +1,9 @@
+#!/usr/bin/env bash
+
+source ~/.bash/colors
+source ~/.bash/shell
+source ~/.bash/path
+source ~/.bash/completion
+source ~/.bash/prompt
+source ~/.bash/aliases
+source ~/.bash/rbenv

No commit comments for this range

Something went wrong with that request. Please try again.