Skip to content
This repository


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Fixed broken path substitution #2

merged 1 commit into from about 2 years ago

2 participants

Nils Winkler Swaroop C H
Nils Winkler

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:

Swaroop C H swaroopch merged commit 3441121 into from February 07, 2012
Swaroop C H swaroopch closed this February 07, 2012
Swaroop C H

Thanks! Merged :)

Nils Winkler

You're welcome!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Showing 1 unique commit by 1 author.

Feb 07, 2012
Nils Winkler Fixed broken path substitution 47a6de4
This page is out of date. Refresh to see the latest.

Showing 1 changed file with 2 additions and 2 deletions. Show diff stats Hide diff stats

  1. 4  template/my_bash_profile.bash
4  template/my_bash_profile.bash
@@ -78,8 +78,8 @@ if [[ "$OS" == "mac" ]]
78 78
79 79
     # brew doctor
80 80
-    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
83 83
     # Add to the head of the PATH
84 84
     export PATH="/usr/local/bin:/usr/local/sbin:$PATH"
85 85

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.