Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add bin directory

* Remove chruby and rvm unnecessary comments
  • Loading branch information...
commit c1ed3a46b188995b9db721770b97f7215e1b8ea6 1 parent 858d7de
Adarsh Pandit authored
Showing with 15 additions and 7 deletions.
  1. +12 −0 bin/replace
  2. +3 −0  zlogin
  3. +0 −7 zshrc
View
12 bin/replace
@@ -0,0 +1,12 @@
+#!/bin/sh
+#
+# Find and replace by a given list of files.
+#
+# replace foo bar **/*.rb
+
+find_this=$1
+shift
+replace_with=$1
+shift
+
+ag -l $find_this $* | xargs sed -i '' "s/$find_this/$replace_with/g"
View
3  zlogin
@@ -23,3 +23,6 @@ export PS1='$(git_prompt_info)[${SSH_CONNECTION+"%{$fg_bold[green]%}%n@%m:"}%{$f
### Added by the Heroku Toolbelt
export PATH="/usr/local/heroku/bin:$PATH"
+
+# load thoughtbot/dotfiles scripts
+export PATH="$HOME/.bin:$PATH"
View
7 zshrc
@@ -53,10 +53,6 @@ export EYRC=./.eyrc
setopt auto_pushd
export dirstacksize=5
-# Source the chruby shell script
-source /usr/local/opt/chruby/share/chruby/chruby.sh
-# source /usr/local/opt/chruby/share/chruby/auto.sh
-
# recommended by brew doctor
export PATH='/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X11/bin:/opt/local/bin:/opt/local/sbin:/usr/texbin'
@@ -64,8 +60,5 @@ export PATH='/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/usr/local/bin:/usr/X1
autoload -U zmv
alias mmv='noglob zmv -W'
-#RVM
-# PATH=$PATH:$HOME/.rvm/bin # Add RVM to PATH for scripting
-
#Fanhattan
export RACK_ENV=development
Please sign in to comment.
Something went wrong with that request. Please try again.