Releases: Bash-it/bash-it
Late bugfixes
Another pre-release, covering issues found in 3.1.0
Please keep testing, so we can make this an official release in about a week.
What's Changed
- Add more aliases for
git branch
, use long form by @bittner in #2159 - Add terraform init alias by @tbhaxor in #2109
- bug: Use C style strings when checking for invalid alias characters by @convergedtarkus in #2188
- Fix lint errors in multiple files by @tbhaxor in #2192
- Implement yarn completion by @tbhaxor in #2190
- Allow for longer command min duration by @OMEGARAZER in #2198
- Suppress SC1091 in brew completions by @tbhaxor in #2130
- fix: lint 💚 by @robertoschiavone in #2213
- docs: Update Bash libraries links by @hyperupcall in #2225
- ci: Update GitHub actions by @hyperupcall in #2224
- [terraform] add alias for terraform workspace by @eddykaya in #2207
- Add support to powerline themes to override foreground color by @kmcfate in #2231
- fix the shellcheck lint test for Brainy theme by @seefood in #2263
- Fix commandline options for the current versions of gifski, gifsicle and oh-my-posh by @seefood in #2262
- bash_profile.template.bash: fix theme location by @blackteahamburger in #2259
- Add git alias
gshn
(git show --name-only
) by @bittner in #2219 - Add more aliases for
git merge
andgit rebase
by @bittner in #2223 - Add new theme - Inretio by @gytisrepecka in #2247
- Improve git aliases by @royatt in #2176
- (update) Add some new aliases for logging and for miss typing. by @alexnavfr in #2249
- Short aliases for
git commit --amend
(bang) by @bittner in #2218 - Fix clock_hand to display correct hour hand by @BarbUk in #2240
- added new theme (lambda) by @w453y in #2235
- Support conda environement for bira theme by @tbhaxor in #2256
- Fix call to liquidprompt function by @DarrenBishop in #2175
- Clean
elixr.theme.bash
by @hyperupcall in #2229 - Clean
clean.theme.bash
by @hyperupcall in #2228 - Add alias for
git pull --prune
by @bittner in #2222 - Tweaks to clean files scripts and file list by @hyperupcall in #2230
- Updates to the gif plugin by @seefood in #2205
- Clean
aliases.completion.bash
by @hyperupcall in #2227 - Add alias for
git reset --hard
andgrh
like OMZ by @bittner in #2221 - Fix loading of nvm for brew-installed nvm by @brianphillips in #2162
- Clean export completions by @tbhaxor in #2134
- Added more Maven aliases by @tomaytotomato in #2191
- Add url manipulation plugin by @tbhaxor in #2144
- feat: support plain old node as strategy to get node version by @matthewadams in #2142
- tests: Use git worktree correctly by @NoahGorny in #2117
- BATS:
shellcheck
by @gaelicWizard in #2033 - lint cleanup for shfmt by @seefood in #2266
- Add pre-jgitflow function by @ppalazon in #2234
- Fix duplicate declaration of
grm
, updategrb<*>
by @bittner in #2220 - I merged the jgit too soon... by @seefood in #2267
- DRAFT: theme/powerline: just some mild cleanup by @gaelicWizard in #2054
- Revert "bash_it: source reloader.bash without arguments for the default enabling" by @gaelicWizard in #2097
- DRAFT: completion/sqlmap: simplify code flow (whitespace) by @gaelicWizard in #1962
- Revert "Revert "bash_it: source reloader.bash without arguments for the default enabling"" by @seefood in #2268
- lib/command_duration: avoid relying on a specific locale by @akinomyoga in #2271
- BATS:
shfmt
by @gaelicWizard in #2106 - Check newer macos, the old versions are getting irrelevant by @seefood in #2272
- shfmt and shellcheck for a few more files by @seefood in #2273
- theme/powerline base: cleanup and incorporate defaults by @gaelicWizard in #2059
- theme/gitline: harmonize
powerline.base
file(s) by @gaelicWizard in #2050 - ci(lint): add shell linter - Differential ShellCheck by @jamacku in #2243
- implement #2241 (custom config file during install) by @mvk in #2242
- shfmt and shellcheck for a few more files by @seefood in #2274
- ironing lint problems for the z_autoenv plugin by @seefood in #2279
- [barbuk.theme] Allow setting git current user and add a default icon by @BarbUk in #2278
- resolve the BATS errors by @seefood in #2280
- whitespace autofix stuff, and shfmt cleanup by @seefood in #2265
- Cleanup a few plugins by @seefood in #2281
- Cleanup even more plugins by @seefood in #2282
- final cleanup of all plugins by @seefood in #2283
- Bring to compliance all the completions by @seefood in #2284
- redo the z_env cleanup because I broke it badly by @seefood in #2285
- check whether
brew
command exists before aliasing by @shinenelson in #2287 - check whether
dnf
command exists before aliasing by @shinenelson in #2286 - Fix for cases in the virtualenv plugin where pyenv is present but pyenv virtualenvwrapper isn't by @LoKolbasz in #2288
- update aws_profile in base theme to work with new aws cli versions by @mdaydevelopment in #2290
- a fix for #2261 by @seefood in #2289
- Improve array handling in alias completion by @convergedtarkus in #2293
- Clean doubletime variants, dulcie, and duru theme files by @hyperupcall in #2291
- Clean codeword, cooperkid, cupcake theme files by @hyperupcall in #2292
- Lots of little fixes because I screwed up the clean_files.txt and missed unlinted completions by @seefood in #2294
- Add new feature to base.plugin.bash by @TheMadTomato in #2257
- Fix formatting by @hyperupcall in #2295
- Do not replace already existing completions by @convergedtarkus in #2298
- Themes: Fix
shellcheck
(SC2154); Part C by @gaelicWizard in #1954 - aliases: Add new git-omz alias file by @NoahGorny in #1831
- DRAFT: theme/powerline-multiline: harmonize
powerline.base
files by @gaelicWizard in #2051 - fix the shellcheck and linter issues by @seefood in #2301
- DRAFT: theme/powerline-naked: harmonize
powerline.base
files by @gaelicWizard in #2052 - theme/liquidprompt: lint and use
$THEME_CLOCK_FORMAT
by @gaelicWizard in #2048 - Add virtualenv prompt for robbyrussell theme by @petarnikolovski in #2060
- lib/helpers: remove log message from
_command_exists()
et al by @gaelicWizard in #2065 - lint and shellcheck fixes. by @seefood in #2302
- important catches by @akinomyoga by @seefood in #2303
New Contributors
- @convergedtarkus made their first contribution in #2188
- @OMEGARAZER made their first contribution in #2198
- @robertoschiavone made their first contribution in #2213
- @hyperupcall made their first contribution in https://github.com/Bas...
v3.1.0 - It's been a while
Message from @seefood - No special reason for a new release other than a huge amount of PRs have been accumulated and I thought it was time to tell the users that:
a. This project isn't dead
b. a lot of refactoring and patches took place, and though we tried to keep the thing from stepping on its own foot it's likely some stuff may have broken, and your feedback is needed if so.
c. feel free to make PRs, I seem to be the least busy of the lot of maintainers, and I will do my best to help you guys add and fix things
What's Changed
- Add more aliases for
git branch
, use long form by @bittner in #2159 - Add terraform init alias by @tbhaxor in #2109
- bug: Use C style strings when checking for invalid alias characters by @convergedtarkus in #2188
- Fix lint errors in multiple files by @tbhaxor in #2192
- Implement yarn completion by @tbhaxor in #2190
- Allow for longer command min duration by @OMEGARAZER in #2198
- Suppress SC1091 in brew completions by @tbhaxor in #2130
- fix: lint 💚 by @robertoschiavone in #2213
- docs: Update Bash libraries links by @hyperupcall in #2225
- ci: Update GitHub actions by @hyperupcall in #2224
- [terraform] add alias for terraform workspace by @eddykaya in #2207
- Add support to powerline themes to override foreground color by @kmcfate in #2231
- fix the shellcheck lint test for Brainy theme by @seefood in #2263
- Fix commandline options for the current versions of gifski, gifsicle and oh-my-posh by @seefood in #2262
- bash_profile.template.bash: fix theme location by @blackteahamburger in #2259
- Add git alias
gshn
(git show --name-only
) by @bittner in #2219 - Add more aliases for
git merge
andgit rebase
by @bittner in #2223 - Add new theme - Inretio by @gytisrepecka in #2247
- Improve git aliases by @royatt in #2176
- (update) Add some new aliases for logging and for miss typing. by @alexnavfr in #2249
- Short aliases for
git commit --amend
(bang) by @bittner in #2218 - Fix clock_hand to display correct hour hand by @BarbUk in #2240
- added new theme (lambda) by @w453y in #2235
- Support conda environement for bira theme by @tbhaxor in #2256
- Fix call to liquidprompt function by @DarrenBishop in #2175
- Clean
elixr.theme.bash
by @hyperupcall in #2229 - Clean
clean.theme.bash
by @hyperupcall in #2228 - Add alias for
git pull --prune
by @bittner in #2222 - Tweaks to clean files scripts and file list by @hyperupcall in #2230
- Updates to the gif plugin by @seefood in #2205
- Clean
aliases.completion.bash
by @hyperupcall in #2227 - Add alias for
git reset --hard
andgrh
like OMZ by @bittner in #2221 - Fix loading of nvm for brew-installed nvm by @brianphillips in #2162
- Clean export completions by @tbhaxor in #2134
- Added more Maven aliases by @tomaytotomato in #2191
- Add url manipulation plugin by @tbhaxor in #2144
- feat: support plain old node as strategy to get node version by @matthewadams in #2142
- tests: Use git worktree correctly by @NoahGorny in #2117
- BATS:
shellcheck
by @gaelicWizard in #2033 - lint cleanup for shfmt by @seefood in #2266
- Add pre-jgitflow function by @ppalazon in #2234
- Fix duplicate declaration of
grm
, updategrb<*>
by @bittner in #2220 - I merged the jgit too soon... by @seefood in #2267
- DRAFT: theme/powerline: just some mild cleanup by @gaelicWizard in #2054
- Revert "bash_it: source reloader.bash without arguments for the default enabling" by @gaelicWizard in #2097
- DRAFT: completion/sqlmap: simplify code flow (whitespace) by @gaelicWizard in #1962
- Revert "Revert "bash_it: source reloader.bash without arguments for the default enabling"" by @seefood in #2268
- lib/command_duration: avoid relying on a specific locale by @akinomyoga in #2271
- BATS:
shfmt
by @gaelicWizard in #2106 - Check newer macos, the old versions are getting irrelevant by @seefood in #2272
- shfmt and shellcheck for a few more files by @seefood in #2273
- theme/powerline base: cleanup and incorporate defaults by @gaelicWizard in #2059
- theme/gitline: harmonize
powerline.base
file(s) by @gaelicWizard in #2050 - ci(lint): add shell linter - Differential ShellCheck by @jamacku in #2243
- implement #2241 (custom config file during install) by @mvk in #2242
- shfmt and shellcheck for a few more files by @seefood in #2274
- ironing lint problems for the z_autoenv plugin by @seefood in #2279
- [barbuk.theme] Allow setting git current user and add a default icon by @BarbUk in #2278
- resolve the BATS errors by @seefood in #2280
- whitespace autofix stuff, and shfmt cleanup by @seefood in #2265
- Cleanup a few plugins by @seefood in #2281
- Cleanup even more plugins by @seefood in #2282
- final cleanup of all plugins by @seefood in #2283
- Bring to compliance all the completions by @seefood in #2284
- redo the z_env cleanup because I broke it badly by @seefood in #2285
- check whether
brew
command exists before aliasing by @shinenelson in #2287 - check whether
dnf
command exists before aliasing by @shinenelson in #2286 - Fix for cases in the virtualenv plugin where pyenv is present but pyenv virtualenvwrapper isn't by @LoKolbasz in #2288
- update aws_profile in base theme to work with new aws cli versions by @mdaydevelopment in #2290
- a fix for #2261 by @seefood in #2289
- Improve array handling in alias completion by @convergedtarkus in #2293
- Clean doubletime variants, dulcie, and duru theme files by @hyperupcall in #2291
- Clean codeword, cooperkid, cupcake theme files by @hyperupcall in #2292
- Lots of little fixes because I screwed up the clean_files.txt and missed unlinted completions by @seefood in #2294
- Add new feature to base.plugin.bash by @TheMadTomato in #2257
- Fix formatting by @hyperupcall in #2295
- Do not replace already existing completions by @convergedtarkus in #2298
- Themes: Fix
shellcheck
(SC2154); Part C by @gaelicWizard in #1954 - aliases: Add new git-omz alias file by @NoahGorny in #1831
- DRAFT: theme/powerline-multiline: harmonize
powerline.base
files by @gaelicWizard in #2051 - fix the shellcheck and linter issues by @seefood in #2301
- DRAFT: theme/powerline-naked: harmonize
powerline.base
files by @gaelicWizard in #2052 - theme/liquidprompt: lint and use
$THEME_CLOCK_FORMAT
by @gaelicWizard in #2048 - Add virtualenv prompt for robbyrussell theme by @petarnikolovski in #2060
- lib/helpers: remove log message from
_command_exists()
et al by @gaelicWizard in #2065
New Contributors
- @convergedtarkus made their first contribution in #2188
- @OMEGARAZER made their first contribution in https://g...
v3.0.3
A lot of time has gone since the last time I made a release. Many nice cleanups and bugfixes included, and more on the way 😄
What's Changed
- Improve bashit upgrade function git log and add missing popd by @tbhaxor in #2139
- Update of barbuk theme (add modular blocks) by @BarbUk in #2121
- Upgrade the sphinx version by @tbhaxor in #2145
- plugin(dirs): Create backup file parent directory by @davidpfarrell in #2147
- Clean flutter completions by @tbhaxor in #2135
- Issue 2151 🛂 do not give users a root shell by executing arbitrary shell commands by 'vim' by @thomasmerz in #2152
- Update Gitlab Runner images by @jakebman in #2154
- Update variable name to match projects.plugin.bash by @brianphillips in #2161
- Verbose version of
git add
(gav) by @bittner in #2158 - chore: Use grep -E / grep -F instead of egrep / fgrep by @davidpfarrell in #2164
- bug:CI Lint - Install shellcheck via wget by @davidpfarrell in #2173
- fix(theme): use correct escape sequence to avoid weird text overwriting by @Royalsspirit in #2170
- Added update-bash section in README by @dylanjtuttle in #2146
- remove function wrapper around kubectl aliases by @cornfeedhobo in #2166
- bug: Use en_US when fetching EPOCHREALTIME by @davidpfarrell in #2172
New Contributors
- @thomasmerz made their first contribution in #2152
- @jakebman made their first contribution in #2154
- @bittner made their first contribution in #2158
- @Royalsspirit made their first contribution in #2170
- @dylanjtuttle made their first contribution in #2146
Full Changelog: v3.0.2...v3.1.0
v3.0.2
This is mostly a bug fixes release 😄
What's Changed
- Fix dynamic clock icon by @BarbUk in #2120
- Fix grep path when a grep alias exists by @BarbUk in #2122
- Clean awscli completion by @tbhaxor in #2129
- Fix/command duration precision by @BarbUk in #2119
- general: Add default nano editor for the edit alias by @NoahGorny in #2132
- fix projects plugin regression by @eviweb in #2138
New Contributors
Full Changelog: v3.0.1...v3.0.2
v3.0.1
News
I am happy to announce that @gaelicWizard has joined the project as a maintainer ❤️
What's Changed
- lib/theme:
shfmt
,shellcheck
, and some cleanup by @gaelicWizard in #2038 - Upgrade to GitHub issue forms by @EmilySeville7cfg in #2077
- lib/appearance: export
$CLICOLOR
instead of$LSCOLOR
by @gaelicWizard in #2028 - plugin/battery: fix handling of multiple batteries with
upower
by @gaelicWizard in #2105 - BATS infra refactor by @gaelicWizard in #2031
- Revamp command duration helper/plugin by @gaelicWizard in #1906
- fix test file path from the 7fcad6e commit by @tbhaxor in #2108
- Add a 'theme' for OMP, so the internal themes don't clash with it. by @ira-bv in #2100
- Add open brave browser alias by @tbhaxor in #2110
- Fix bash-it preview by @NoahGorny in #2114
New Contributors
- @EmilySeville7cfg made their first contribution in #2077
Full Changelog: v3.0.0...v3.0.1
v3.0.0
A new release of Bash-it, with numerous changes, including many removals of legacy code, and cleanup of major parts of the project!
A lot of thanks to all of the folks who have contributed. You guys are awesome and the reason Bash-it is so great 😄
TLDR of the changes:
- Many cleanups of the code to conform to the shellcheck standard. @gaelicWizard led the charge on this mission ❤️
- A new command called
bash-it profile
, see here - Many bug fixes and code improvements
I plan on releasing versions more rapidly from now on, so stay tuned 😃
Good luck and happy bashing!
What's Changed
- Added completion for dart cli by @tbhaxor in #1852
- Import bash-completion slightly more carefully by @gaelicWizard in #1908
- Fixed defaults autocompletion. by @NoahGorny in #1913
- Don't call external
uname
when$OSTYPE
will do by @gaelicWizard in #1911 - Don't set
indent_size
when using tabs by @gaelicWizard in #1916 - defaults: Revert to old comparison by @NoahGorny in #1918
- fix update not popping back cwd by @NoahGorny in #1921
- lib/helpers: new function to set BASH_IT_HOMEBREW_PREFIX by @gaelicWizard in #1910
- Gracefully handle unbound parameters by @gaelicWizard in #1903
- Support multiple versions of Bash Completion by @gaelicWizard in #1915
- Reinstate macOS 11 job by @NoahGorny in #1939
- plugins: Fix shellcheck warnings on already linted files by @NoahGorny in #1936
- Themes: use
_save-and-reload-history()
by @gaelicWizard in #1941 - EditorConfig: set
indent_size = tab
by @gaelicWizard in #1949 - themes/base: don't invoke svn if possible by @gaelicWizard in #1909
- Delete
.shellcheckrc
by @gaelicWizard in #1947 - Use parameter substitution instead of
dirname
/basename
, where safe to do so by @gaelicWizard in #1926 - Use
$PWD
instead of$(pwd)
by @gaelicWizard in #1927 - completion: pip: Only invoke pip when trying to complete it by @NoahGorny in #1834
- Remove Executable Bit by @gaelicWizard in #1935
- Use
_command_exists
everywhere by @gaelicWizard in #1938 - aliases/vim: simplify code flow by @gaelicWizard in #1960
- plugin/ruby
shellcheck
by @gaelicWizard in #1955 - completion/laravel: simplify code flow by @gaelicWizard in #1963
- completion/wpscan: simplify code flow (whitespace) by @gaelicWizard in #1961
- plugin/percol
shellcheck
by @gaelicWizard in #1956 - plugin/less-pretty-cat improvements by @gaelicWizard in #1957
- plugin/base: improvements by @gaelicWizard in #1930
- completion/pip: simplify control flow by @gaelicWizard in #1964
- Lint: prepare
lib/utilities
forshellcheck
by @gaelicWizard in #1933 - clean up pyenv plugin by @cornfeedhobo in #1885
- lib/helpers: new function
_bash-it-find-in-ancestor()
by @gaelicWizard in #1952 - skip go tests when go is not available by @cornfeedhobo in #1967
- plugins: Add ble.sh plugin by @NoahGorny in #1884
- completion/git: improvements and linting by @gaelicWizard in #1965
- ci: Bump go to 1.17 from 1.14 by @NoahGorny in #1971
- theme/powerline: fix an oops in the last patch by @gaelicWizard in #1968
- Add history flushes on each command to the powerline themes by @ira-bv in #1883
- Fix home dir substitution by @zou000 in #1974
- lib/utilities: minor improvements by @gaelicWizard in #1973
- Fix save-and-reload-history command not found by @krapshsa in #1975
- Use
_bash-it-egrep()
by @gaelicWizard in #1976 - preexec: work around upstream mangling of
$HISTCONTROL
by @gaelicWizard in #1979 - docs: Pin docutils to 0.17.1 by @NoahGorny in #1984
- Look for branches that are literally the word main by @william-richard in #1981
- plugin: add zoxide by @ajeetdsouza in #1986
- Themes: Fix doubletime_multiline scm_prompt by @mikejamestx in #1987
- Wholesale cleanup of all history plugins by @cornfeedhobo in #1982
- plugin(dirs): remove shopt -s cdable_vars by @davidpfarrell in #1992
- "pipenv --completion" is obsoleted by @Novite5 in #1994
- Refactor completion for
defaults
command by @gaelicWizard in #1928 - Plugin/jekyll: lint and stuff by @gaelicWizard in #1969
- Themes: fix
shellcheck
(SC2154); Part A by @gaelicWizard in #1977 - Plugin/Java: quote path and provide useful error message by @gaelicWizard in #2006
- Revert most of "Fix linting errors that snuck in." by @gaelicWizard in #2000
- Fix checking whether fzf is already in PATH by @tsiflimagas in #1998
- add profile subcommand by @NoahGorny in #1865
- plugin/git-subrepo: use
$HOME
instead of~
by @gaelicWizard in #2015 - Plugin/todo: cleanup and simplify by @gaelicWizard in #2005
- Plugin/OSX: cleanup by @gaelicWizard in #2008
- Plugin/man: Add
R
to$LESS
by @gaelicWizard in #2009 - Plugin/dirs: use
$XDG_STATE_HOME
by @gaelicWizard in #2001 - feat(git): make auto squashing non-interactive by @georgettica in #1997
- theme/essential: cleanup by @gaelicWizard in #2012
- plugin/python: OS detection &
shfmt
by @gaelicWizard in #2016 - theme/powerline: fix error
scm: parameter not defined
by @NariyasuHeseri in #2021 - Bash-it completions performance improvement by @tsiflimagas in #1989
- Added alias ls='ls -F' by @noviicee in #1991
- tests: path quoting and boilerplate by @gaelicWizard in #2002
- completion/svn: import existing, remove copy by @gaelicWizard in #1953
- plugin/GIF: use
type -p
and lint by @gaelicWizard in #2014 - plugin/nginx: cleanup by @gaelicWizard in #2011
- Plugin/LaTeX: 2009 was thirteen years ago by @gaelicWizard in #2007
- completion/system: load earlier than others by @gaelicWizard in #2013
- Themes:
shellcheck
(SC2154); Part B by @gaelicWizard in #1980 - theme/atomic: lint/cleanup by @gaelicWizard in #2020
- Lib/log: linting and small improvements by @gaelicWizard in #1959
- lib/utilities: refactor
_bash-it-pluralize-component()
& other improvements by @gaelicWizard in #1999 - Create lib finalize hook by @gaelicWizard in #2004
- Update
vendor/composure
by @gaelicWizard in #2027 - plugin/proxy: lint by @gaelicWizard in #1958
- lib/helpers: fix
_command_exists()
by @gaelicWizard in #2018 - lib/helpers: lint, cleanup, & improvements by @gaelicWizard in #1934
- Update BATS by @gaelicWizard in #2030
- theme/pete:
shellcheck
&&shfmt
by @gaelicWizard in #2035 - completion/bash-it: lint and simplify by @gaelicWizard in #2029
- README: Display latest build status from default branch by @gaelicWizard in #2034
- CI: fix version of OSX runner by @gaelicWizard in #2049
- theme/norbu:
shellcheck
&& `sh...
v2.1.4
-
Cleanup candy theme- thanks @cevhyruz
-
dmidecode completion- thanks @thaxor
-
Clean alias completion plugin- thanks @cevhyruz
-
vendor jboss completion
-
Add support for hg's bookmarks feature - thanks @oliverralbertini
-
Add command duration to the powerline theme family- thanks @clupasq
-
Add k8s namespace to prompt- thanks @ofirshtrull
-
chore(pre-commit): bump version- thanks @georgettica
-
FIxed wpscan completion linting- thanks @tbhaxor
-
Replace reload with restart bash it after upgrade- thanks @tbhaxor
-
Abort upgrade if unsaved changes found in bashit directory- thanks @tbhaxor
-
Have git check out main branch if present- thanks @zzhengnan
-
feat(git): add git unpushed alias- thanks @georgettica
-
Refactor scm_prompt usage in many themes
v2.1.3
-
Add virtualenv name display to purity theme, thanks @tiagobarros99
-
Improve extract plugin, thanks @bingzhangdai
-
Add new docker-compose up --no-start alias, thanks @artemkovalyov
-
Add ngrok completion, thanks @tbhaxor
-
Fix terraform destroy alias typo, thanks @lintonf
-
New theme, called "easy", thanks @Titivoot
-
install: Dont quote number vars, to support older bash versions
v2.1.2
-
Add alias for git rebase --continue, thanks @tbhaxor
-
Add npm alias nt="npm test", thanks @matthewadams
-
Add support for active gcloud account in powerline prompt, thanks @ofirshtrull
-
helpers: Fix broken compoure references after vendor change