Skip to content

Conversation

@msabramo
Copy link

@msabramo msabramo commented Mar 4, 2017

I needed to tweak this to work on a Mac, because BSD sed doesn't interpret \n as a newline. So this happens:

screen shot 2017-03-04 at 8 30 35 am

The easiest thing to do to fix it is to simply replace sed with tr.

Thanks for sharing this repo! I was going to build the git branch switcher myself and then found this and it's great!

I needed to tweak this to work on a Mac, because BSD `sed` doesn't
interpret `\n` as a newline. So this happens:

![screen shot 2017-03-04 at 8 30 35
am](https://cloud.githubusercontent.com/assets/305268/23580432/bf10377c-00b6-11e7-8c16-2bd8a06ea07c.png)

The easiest thing to do to fix it is to simply replace `sed` with `tr`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant