Skip to content

Commit

Permalink
os agnostic
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan Smith authored and Ryan Smith committed May 2, 2012
1 parent 7a4a3cc commit 18346ac
Showing 1 changed file with 7 additions and 15 deletions.
22 changes: 7 additions & 15 deletions bashrc
@@ -1,9 +1,3 @@
#
# ~/.bashrc
#

TERM=xterm-256color

set -o vi

# If not running interactively, don't do anything
Expand All @@ -17,11 +11,14 @@ PS1='[ \W $(__git_ps1 "%s") ] '
export EDITOR=vim
export CLICOLOR=1

# renam caps lock to ctrl
setxkbmap -option ctrl:nocaps
if [ $OSTYPE != 'darwin11' ]
then
# renam caps lock to ctrl
setxkbmap -option ctrl:nocaps
alias ls="ls --color=auto"
fi

# Alias'
alias ls="ls --color=auto"
alias vi="vim"
alias doc="rlwrap ~/src/docbrown/bin/docbrown"
alias be="bundle exec"
Expand All @@ -40,7 +37,7 @@ export GOROOT="$HOME/local/go"
export GOPATH=$HOME

# TAT(1)
export CODE_ROOT_DIRS="/home/ryandotsmith/src"
export CODE_ROOT_DIRS="$HOME/src"
source ~/src/tat/tat.sh

# Move config vars from one heroku app to another
Expand Down Expand Up @@ -88,11 +85,6 @@ function shoot()
scrot '%Y-%m-%d_%H:%M:%S.png' -s -e 'cloudapp upload $f | xsel -i -b -p; rm $f'
}

function lock()
{
xscreensaver-command -activate
}

function todo()
{
git grep -e 'TODO' -e 'FIXME'
Expand Down

0 comments on commit 18346ac

Please sign in to comment.