Skip to content

Instantly share code, notes, and snippets.

@hadashiA
Created September 29, 2012 08:10
Show Gist options
  • Save hadashiA/3803470 to your computer and use it in GitHub Desktop.
Save hadashiA/3803470 to your computer and use it in GitHub Desktop.
nvm.sh の cd を全部 builtin cdに置換する
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