Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Some modifications to allow this to run on The Mac as well #1

Closed
wants to merge 9 commits into from
Commits on Feb 17, 2012
  1. @kidoman
  2. @kidoman

    Added email addresses

    kidoman authored
  3. @kidoman

    Minor bug fix

    kidoman authored
Commits on Mar 10, 2012
  1. @kidoman
  2. @kidoman
Commits on Mar 19, 2012
  1. @kidoman
Commits on Mar 28, 2012
  1. @kidoman

    Added git gui alias

    kidoman authored
Commits on Jun 25, 2012
  1. @kidoman

    Merged in changes from ravi

    kidoman authored
Commits on Aug 7, 2012
  1. @kidoman

    Merged in changes from ravi

    kidoman authored
This page is out of date. Refresh to see the latest.
View
0  .gitmodules
No changes.
View
4 README
@@ -0,0 +1,4 @@
+Quick and easy FASTWORK scripts
+
+Created by Ravi K P (ravikup@thoughtworks.com)
+Modifications by Karan Misra (karanm@thoughtworks.com)
View
2  bash/aliases
@@ -4,7 +4,7 @@ alias ld='ll | grep ^d'
alias lf='ll | grep ^-'
alias ..='cd ..'
alias re='source ~/.bash_profile'
-alias ea='vim ~/dotfiles/bash/aliases && re'
+alias ea='vim $dotfiles/bash/aliases && re'
alias cls='clear'
alias vim='vim -N'
alias vi='vim -N'
View
16 bashrc
@@ -1,10 +1,20 @@
-export dotfiles=~/dotfiles
+export dotfiles=~/.dotfiles
. $dotfiles/bash/env
. $dotfiles/bash/config
. $dotfiles/bash/aliases
. $dotfiles/ruby/aliases
. $dotfiles/git/aliases
-. $dotfiles/windows/microsoft/dotnet/aliases
-. $dotfiles/windows/microsoft/system/aliases
+. $dotfiles/guard/aliases
+. $dotfiles/bundler/aliases
+. $dotfiles/rails/aliases
+
. $dotfiles/dirb/dirb.sh
+
+if [ "darwin11" = "$OSTYPE" ]; then
+ . $dotfiles/textmate/aliases
+ . $dotfiles/mongodb/aliases
+elif [ "msys" = "$OSTYPE" ]; then
+ . $dotfiles/windows/microsoft/dotnet/aliases
+ . $dotfiles/windows/microsoft/system/aliases
+fi
View
1  bundler/aliases
@@ -0,0 +1 @@
+alias be="bundle exec"
View
53 dirb/README
@@ -1,53 +0,0 @@
-DESCRIPTION
-
- Directory Bookmarks for BASH (c) 2009, Ira Chayut, Version 090927
-
- DirB and its implementation in this file are the product of, and
- copyrighted by Ira Chayut. You are granted a non-exclusive, royalty-free
- license to use, reproduce, modify and create derivative works from DirB;
- providing that credit is given to DirB as a source material.
-
- The lastest version is available from: http://www.dirb.info/bashDirB.
- Ira can be reached at ira@dirb.info.
-
- Icy forked the source from http://dirb.info/ to customize the script
- for his own purpose. You can modify, redistribute and create derivative
- works from Icy's fork, providing that credit is given to DirB as a
- source material.
-
-USAGE
-
- In your $HOME/.bashrc
- source /path/to/this/dirb.sh
-
- By default DirB will have the shell echo the current working directory out
- to the title bars of Xterm windows. To disable this behavior, comment
- out the following line in source file
- PS1="\[\033]0;\w\007\]\t \!> "
-
-OPERATIONS
-
- s Save a directory bookmark
- g go to a bookmark or named directory
- p push a bookmark/directory onto the dir stack
- r remove saved bookmark
- d display bookmarked directory path
- sl print the list of directory bookmarks
-
-EXAMPLES
-
- s xyz current directory is saved as xyz
- s xyz ../../dir0/dir1 save relative directory as xyz
- s xyz dir notes here save directory with comments
- g xyz go to bookmark xyz or to path xyz
- p xyz go to bookmark/directory xyz
- and remember into the directory stack
- p swap to two bookmarks
- p +n rotate nth entry from top to top
- p -n rotate nth entry from bottm to top
- r xyz remove named bookmark
- d xyz display directory name of bookmark xyz
- sl -l long list
- sl -p path list
- sl "*x" list all of all bookmarks *x
- sl -l "*x" long list all of all bookmarks *x
View
3  git/aliases
@@ -1,4 +1,5 @@
alias gs='git status'
+alias gai='git add -i'
alias gss='git submodule status'
alias gsu='git submodule update'
alias gssync='git submodule sync'
@@ -23,6 +24,8 @@ alias gsd='git svn dcommit'
alias grc='git rebase --continue'
alias git-new-work-dir='~/dotfiles/git/contrib/git-new-working-dir'
+alias ggui='git gui &'
+
function gg {
git commit -v -m "$*"
}
View
1  guard/aliases
@@ -0,0 +1 @@
+alias beg='bundle exec guard'
View
2  mongodb/aliases
@@ -0,0 +1,2 @@
+alias mstart='launchctl load -w ~/Library/LaunchAgents/homebrew.mxcl.mongodb.plist'
+alias mstop='launchctl unload -w ~/Library/LaunchAgents/homebrew.mxcl.mongodb.plist'
View
1  rails/aliases
@@ -0,0 +1 @@
+alias rc="rails c"
View
3  textmate/aliases
@@ -0,0 +1,3 @@
+function trb() {
+ osascript -e 'tell app "TextMate" to reload bundles'
+}
Something went wrong with that request. Please try again.