Created
September 24, 2011 17:28
-
-
Save techarch/1239600 to your computer and use it in GitHub Desktop.
Custom Pik configuration for Git Bash (MinGW32) on Windows
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
# Add the following line to your existing .bashrc | |
# Note the double quotes on the path next to source | |
[[ -s $USERPROFILE/.pik/.pikrc ]] && source "$USERPROFILE/.pik/.pikrc" |
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/sh | |
# Assuming that Pik is install on the C: drive | |
pik_path=C:/pik | |
function pik { | |
$pik_path/pik_runner.exe pik.sh $@ | |
# Note the double quotes on the path next to source | |
[[ -s $USERPROFILE/.pik/pik.sh ]] && source "$USERPROFILE/.pik/pik.sh" | |
} |
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
#Assumption: Ruby 1.9.2 is installed on the C: drive in Ruby192 | |
# | |
--- | |
"186: ruby 1.8.6 (2007-09-24 patchlevel 111) [i386-mswin32]": | |
:path: !ruby/object:Pathname | |
path: C:/ruby/bin | |
"192: ruby 1.9.2p290 (2011-07-09) [i386-mingw32]": | |
:gem_home: !ruby/object:Pathname | |
path: c:/Ruby192/lib/ruby/gems/1.9.1 | |
:path: !ruby/object:Pathname | |
path: C:/Ruby192/bin | |
--- {} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment