Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make dmenu.sh work on a Mac #1

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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