-
Notifications
You must be signed in to change notification settings - Fork 2.3k
BarbUk theme: Fix merge from shellcheck PR #2311
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
Conversation
|
It seems like you only reversed a single commit, rather than solve the issue, it removes two functions and introduces a lot of changes. can you make it a bit more focused, please? |
|
It's my theme, that I use every day. I did not reverse a commit, I've restored the theme in working form, from the last working PR, while keeping the fixes introduced by the shellcheck merge. The two removed functions were wrongly added by the merge. |
|
If the only breakage is the name of the function, why not rename it back or change the call? there must have been a reason for this change, I just have no time to dig into this. If you prefer this PR then I will merge it, as it seems shellcheck is not complaining. |
It's not just the function call. In the current master branch, the theme throws an error for the function, and some modular parts are not working anymore (python env, ssh info etc.).
Yeah, and it's complicated to follow because the shellcheck merge bring back old version of the theme only in specific function. If you want to understand the source of the issue, check 0743ebe that add two unused function: Those two function where remove from the 2022 theme rework:
It's not that I prefer the PR :). I don't know how to make more easily comprehensible. In any case, it's the theme I use right now to work, and all functionality of the theme are working as intended with this PR. |
|
Sorry, got it now. Middle of the work day here, my neurons are spread thin :-)) |
Same for me. Thanks for the merge. |

Description
Last master pull has error with barbuk theme:
bash: __git-uptream-remote-logo_prompt: command not foundThe last working PR for this theme was made from:
https://github.com/BarbUk/bash-it/tree/barbuk-theme/enable_SCM_THEME_CURRENT_USER, merged from #2278.
The bad merge is from #1954, with this commit:
0743ebe
This PR aim to fix the theme, will keeping shellcheck fixes from @gaelicWizard (thanks for the work)
Motivation and Context
Fix the error when using barbuk theme.
How Has This Been Tested?
Using the theme after this fix, the error is gone.
Screenshots (if appropriate):
Types of changes
Checklist:
clean_files.txtand formatted it usinglint_clean_files.sh.