Last active
January 28, 2016 02:49
-
-
Save mcint/e5467e0a16a039ea4c23 to your computer and use it in GitHub Desktop.
This file contains 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
[[ "$PATH" =~ "%" ]] PATH=(for SUB in `echo $PATH | tr : '\n'`; do [[ "$SUB" =~ "%" ]] && (echo "$(printenv `echo $SUB|cut -d% -f2`)$(echo $SUB|cut -d% -f3)" | sed 's_C:_/c_g' | sed 's_\\_/_g') || echo $SUB; done) | tr '\n' : | sed 's_:$__' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment