Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

Fixed broken path substitution #2

Merged
merged 1 commit into from

2 participants

@nwinkler

I think your path substitution is broken. The trailing question mark caused the first following slash to be removed from the path. With your substitution, my git path was broken since it was missing the first slash:

After removing the question mark from the regex, it works fine for me again:

@swaroopch swaroopch merged commit 3441121 into from
@swaroopch
Owner

Thanks! Merged :)

@nwinkler

You're welcome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Feb 7, 2012
  1. @nwinkler
This page is out of date. Refresh to see the latest.
Showing with 2 additions and 2 deletions.
  1. +2 −2 template/my_bash_profile.bash
View
4 template/my_bash_profile.bash
@@ -78,8 +78,8 @@ if [[ "$OS" == "mac" ]]
then
# brew doctor
# http://mxcl.github.com/homebrew/
- export PATH="${PATH/\/usr\/local\/bin:?/}" # Remove directory from PATH
- export PATH="${PATH/\/usr\/local\/sbin:?/}" # Remove directory from PATH
+ export PATH="${PATH/\/usr\/local\/bin:/}" # Remove directory from PATH
+ export PATH="${PATH/\/usr\/local\/sbin:/}" # Remove directory from PATH
# Add to the head of the PATH
export PATH="/usr/local/bin:/usr/local/sbin:$PATH"
Something went wrong with that request. Please try again.