-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
theme/liquidprompt: lint and use $THEME_CLOCK_FORMAT
#2048
base: master
Are you sure you want to change the base?
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 |
Description
$THEME_CLOCK_FORMAT
instead of hard-coding it, and lint the whole file, and move the checked-out repository under thevendor
tree.$PROMPT_COMMAND
or theDEBUG
trap; those are owned bybash-preexec
Motivation and Context
Just cleaning up.
How Has This Been Tested?
Types of changes
Checklist:
clean_files.txt
and formatted it usinglint_clean_files.sh
.