Created
September 29, 2012 08:10
-
-
Save hadashiA/3803470 to your computer and use it in GitHub Desktop.
nvm.sh の cd を全部 builtin cdに置換する
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
ruby -i -pe '$_.gsub!(/(?<!builtin\s)(cd\s+)/, "builtin \\1")' nvm.sh |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment