shellcheck all core files#1917
Conversation
|
This is a draft as it is a work-in-progress! This branch is based on |
4eaf435 to
e9770ff
Compare
NoahGorny
left a comment
There was a problem hiding this comment.
Wow- what a great cleanup!
I look forward for merging all of your contributions @gaelicWizard 😄
Thanks for helping make Bash-it a better project ❤️
davidpfarrell
left a comment
There was a problem hiding this comment.
Hi Team !
IMO, this is too much risk for one PR : 24 files?
Lets try adding lib/ and scripts/ as separate PRs and see how that looks
It's like six files, only one of which I've (partially) committed. The rest you see in the list are from a different PR, which has been approved but not merged yet. This PR is a draft because it's not ready yet. Worry not, it will be clean and clear before submission! 👍 |
7b3a445 to
5ea47b7
Compare
(Just rebased on master since |
42a0e6a to
9e55192
Compare
be58f3c to
5bebe44
Compare
75d756a to
a53776f
Compare
9cd57fd to
4a8b6f9
Compare
4a8b6f9 to
a223dfb
Compare
|
All tests are passing, but this branch grew significantly so I will try to split it up a bit in separate PRs. The number of files actually changed here for |
|
Ok! This PR is still pretty big, but it's now narrowed down to specifically linting these files. I'm leaving it marked as draft as smaller PRs are more likely to go through sooner. |
|
Rebased on current master. This PR no longer contains any unrelated changes to specifically |
The logic to guess whether to use `.bash_profile` or `.bashrc` was buggy and wrong. Just use `.bashrc` and either automatically fill in a `.bash_profile`, or notify the user that they need to edit their `.bash_profile`.
docs/installation: add to note about interactive/login shells
- Alsö, add implementation note at top.
uninstall: TIL that `fgrep` is deprecated...
- and generally comment out useless varbls
|
Looks ready to go. just a merge from master, please. |
|
seems abandoned for good... |
Description
Add
custom,lib,scripts, andtemplatetoclean_files.txtand address the fallout. This helps towards #1696.Motivation and Context
My entire
globbranch would have been unnecessary if these files had been checked byspellcheck, so let's do it!How Has This Been Tested?
All tests pass!
Types of changes
Checklist:
clean_files.txtand formatted it usinglint_clean_files.sh.