-
Notifications
You must be signed in to change notification settings - Fork 2.3k
theme/liquidprompt: lint and use $THEME_CLOCK_FORMAT
#2048
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
7c81e4d to
3e09390
Compare
$THEME_CLOCK_FORMAT$THEME_CLOCK_FORMAT
9af664f to
b8b6d98
Compare
215bfed to
499a145
Compare
152b1a8 to
2cd1b2a
Compare
2cd1b2a to
843c69c
Compare
|
Cloning the theme seems pretty wild, never actually stumbled upon this code.. wow |
|
It's definitely pretty wild. Previously, it checked out the repo directly into the theme folder! The question to vendor it or not, imo, is whether we want to be on the train of updating it. I have no idea if it's an active project or not. Do we want to be distributing other projects? What about things like It makes way more sense to me, for example, to vendor the jBoss completions because what we're bundling is specifically one or two files, which don't change often, from a large external project. Or, like preexec, where we directly depend on it so we need it inside our repo. EDIT: |
463686f to
ff296ae
Compare
Alsö: - `shfmt` - `shellcheck` - stop with the `cd`
Alsö, install default configuration file
ff296ae to
dccd6e3
Compare
If we can not vendor it, we probably cant also clone it as part of our code... |
|
I think we can clone it at user request so long as we don't bundle it, but I'm alsö ok with just telling the user how to install it and make it not our responsibility. |
|
I prefer to just instruct the user to do it, no need to do it ourselves |
seefood
left a comment
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.
seems ok, I hope it doesn't break and ruin anyone's day...
|
Is there a conclusion about the license issue discussed above? Even if the entire Bash-it does not need to be licensed under AGPL, shouldn't this specific theme be licensed under AGPL? |
Description
$THEME_CLOCK_FORMATinstead of hard-coding it, and lint the whole file, and move the checked-out repository under thevendortree.$PROMPT_COMMANDor theDEBUGtrap; those are owned bybash-preexecMotivation and Context
Just cleaning up.
How Has This Been Tested?
Types of changes
Checklist:
clean_files.txtand formatted it usinglint_clean_files.sh.