-
Notifications
You must be signed in to change notification settings - Fork 131
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
Call prompt as a single function #68
Conversation
I'm using default fish |
Re-comitted to fix Travis tests as suggested by #70 (comment) |
@schrodincat I think the reason why the travis build fails is due to the |
@schrodincat Could you please update your local version of cc @boyeborg |
@schrodincat test are green, could you resolve the conflict so we can move forward with your PR? If you can add tests it's even better! 🎉 |
Will fix this tomorrow, sorry for the delay😔 |
Manual install script was a little bit broken (#81), but after fixing it, I haven't noticed any problems whatsoever. It seems, merge conflict was due to some spaces or other nonsense. I didn't add any tests yet, though. |
I appreciate your efforts here @schrodincat. |
Seems fine even after recent changes. @rafaelrinaldi feel free to let me know, if something need to be changed. Sent with GitHawk |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the many PRs!
I added some feedback in order to improve our code 👍
@edouard-lopez I’ll look into it and fix it at Tuesday. Thanks for the review🌚 Sent with GitHawk |
I'm terribly sorry for such long delay. I've refactored my PR with feedback from @edouard-lopez in mind. |
This approach also fixes multiple spaces before git arrows |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@schrodincat Thanks for the work ❤️
Would you bear with me to ask for a bit more work?
As the file starts to be pretty big, I provided some guidance to split the file in smaller functions/files that we can include using source
.
This will help other contribute as files will be smaller thus less scary and allow us to tests each file/functions.
If my comment are not clear enough ping me, we can discuss together
@schrodincat could you allow changes on your PR so I can resolve conflict by rebasing it on master and help with the work? |
They're already allowed |
@edouard-lopez I'm working on the PR right now, please, wait, before making changes |
Phew, I hope, this time everything is dandy😅 |
Reimplement workaround for truncated strings (#49) using single function as currently recommended in fish-shell/fish-shell#904 (comment) instead of event handler. Update first line of the prompt when moving through directory history with "Alt + ←" and "Alt + →" (#66). Also resolve #62 and #67. Refactor code into smaller functions.
Awesome work! ❤️ Now there is plenty of things we can tests and thanks to you it will be a lot easier to do so and prevent further bug 👏 |
Reimplement workaround for truncated strings (#49) using single function as currently recommended in fish-shell/fish-shell#904 (comment) instead of event handler.
Update first line of the prompt when moving through directory history with "Alt + ←" and "Alt + →" (#66).
Also resolve #62 and #67.