dolmen / angel-PS1

Your fancy shell prompt fed by your guardian angel
https://twitter.com/nglPS1
GNU Affero General Public License v3.0
61 stars 3 forks source link

implement methods in darwin.pm #14

Closed hughsimpson closed 8 years ago

hughsimpson commented 8 years ago

Issue #9

dolmen commented 8 years ago

I made the changes myself on branch port/darwin. Could you try it?

git remote update
git checkout port/darwin
eval $(perl -Ilib bin/angel-PS1)

Cc: @dserodio

hughsimpson commented 8 years ago

Your branch works well for me (apologies for the perl <5.10 incompatibility in the original PR -- as an excuse, it's my first time writing anything in it). Feel free to close this.

EDIT: looks like the flag on _update_from_stty should be -f, not -F, on darwin. Although this doesn't stop it from working the error is a bit ugly.

dolmen commented 8 years ago

The port/darwin branch is now merged, including a fix for update_from_stty. Thanks for this contribution!