andsens / homeshick

git dotfiles synchronizer written in bash
MIT License
2.11k stars 145 forks source link

Fix fish completions on OSX #150

Closed languitar closed 9 years ago

languitar commented 9 years ago

Use sed instead of expr, because there is no substr in expr on OSX.

andsens commented 9 years ago

Doesn't echo emit a newline in fish. Wouldn't it be better to use printf?

languitar commented 9 years ago

Well, but sed swallows everything anyway apart for the first letter.

andsens commented 9 years ago

Ah, yeah I can see that now. OK, merging... Thanks @languitar!