bash-it/plugins/available
cornfeedhobo e690f21e4e
Ensure goenv and go play together well
This PR seeks to address several issues surrounding the go and goenv plugins.
The nature of goenv allows for a situation where the initial shell does not
point to a working go binary, and instead at the included shim script. The
result is that one must run reload after moving to a project directory with a
version file, however in doing so, PATH is updated, requiring they exit the
shell or risk lookup collisions and unexpected behavior.

This is solved by using preexec to check the version before changing
directories and restarting the shell if the version has changed. The exec
pattern is copied from _bash-it-restart, but is edited to support this specific
use case.

Additionally, tests have been uploaded and these are now being linted.
2021-02-04 23:51:17 -06:00
..
alias-completion.plugin.bash alias-completion: Use 'command rm' instead of rm to avoid aliases 2020-12-14 01:25:58 +02:00
autojump.plugin.bash Removed trailing whitespaces 2020-10-29 19:57:14 +02:00
aws.plugin.bash fix for issue #1418 2020-04-27 21:22:23 -07:00
base.plugin.bash plugins/base: Detect HTTP errors in `myip()` 2020-04-07 00:01:09 +02:00
basher.plugin.bash Add hooks to check .sh and .bash headers - Fixes #1491 (#1765) 2021-01-09 18:02:26 +02:00
battery.plugin.bash Update battery.plugin.bash 2019-04-11 10:57:04 +02:00
boot2docker.plugin.bash Renamed file 2015-10-21 09:25:52 +02:00
browser.plugin.bash update plugin management 2012-05-13 22:13:54 -04:00
chruby-auto.plugin.bash Make chruby plugins conform to naming convention 2014-01-02 11:27:14 -08:00
chruby.plugin.bash Make chruby plugins conform to naming convention 2014-01-02 11:27:14 -08:00
cht-sh.plugin.bash Added a comment 2020-03-10 23:02:33 -07:00
cmd-returned-notify.plugin.bash Adding preexec as a vendored library 2021-01-23 18:31:18 +01:00
direnv.plugin.bash Update direnv.plugin.bash 2017-12-11 08:43:53 +01:00
dirs.plugin.bash fixed spelling and grammar 2017-05-19 10:11:54 -06:00
docker-compose.plugin.bash Update docker-compose plugin 2017-10-10 09:01:39 -04:00
docker-machine.plugin.bash deprecation: Replace errors with warnings 2021-01-29 16:06:53 +02:00
docker.plugin.bash Merge pull request #909 from dsem/add-docker-cleanup 2017-02-16 09:55:36 +01:00
edit-mode-emacs.plugin.bash New plugin to enable emacs editing mode 2017-01-02 00:02:26 -08:00
edit-mode-vi.plugin.bash New plugin to enable vi editing mode 2017-01-01 23:57:59 -08:00
explain.plugin.bash Fix EOF 2020-10-29 19:57:14 +02:00
extract.plugin.bash (minor) options fix 2020-04-21 18:34:28 +02:00
fasd.plugin.bash use || to silence exit 1 properly and quit fasd init 2020-05-19 16:59:47 -05:00
fzf.plugin.bash nit pick spacing 2020-07-12 12:37:00 -05:00
gif.plugin.bash Fix the commandline for gifski 2020-10-15 09:19:13 +03:00
git-subrepo.plugin.bash Add git-subrepo plugin 2015-06-18 11:51:51 -04:00
git.plugin.bash Removed trailing whitespaces 2020-10-29 19:57:14 +02:00
gitstatus.plugin.bash gitstatus: Add informative warning in case dir is not found 2020-09-05 22:52:19 +03:00
go.plugin.bash Ensure goenv and go play together well 2021-02-04 23:51:17 -06:00
goenv.plugin.bash Ensure goenv and go play together well 2021-02-04 23:51:17 -06:00
gradle.plugin.bash Fix EOF 2020-10-29 19:57:14 +02:00
hg.plugin.bash update plugin management 2012-05-13 22:13:54 -04:00
history-search.plugin.bash add top-history 2021-01-15 11:57:41 -06:00
history-substring-search.plugin.bash add top-history 2021-01-15 11:57:41 -06:00
history.plugin.bash add top-history 2021-01-15 11:57:41 -06:00
hub.plugin.bash Add hub plugin and completion 2015-09-06 19:18:14 +02:00
java.plugin.bash Added Java plugin. 2012-05-21 11:50:01 +02:00
javascript.plugin.bash plugins-help is much faster 2012-05-15 14:29:06 -04:00
jekyll.plugin.bash update plugin management 2012-05-13 22:13:54 -04:00
jenv.plugin.bash clean up jenv to follow the newer pattern 2020-07-30 07:50:35 -05:00
jgitflow.plugin.bash Corrected grammatical errors 2018-06-14 09:22:45 +02:00
jump.plugin.bash Safe array expansion 2020-02-03 15:37:54 -07:00
latex.plugin.bash [pathmunge] remove duplicate entry into PATH variable on reload command 2015-06-07 20:08:39 -07:00
less-pretty-cat.plugin.bash implement feedback 2019-10-07 14:19:38 +02:00
man.plugin.bash Fix EOF 2020-10-29 19:57:14 +02:00
nginx.plugin.bash [pathmunge] fix duplicates in PATH variable for nginx and node plugins 2015-05-30 00:27:05 -07:00
node.plugin.bash cleanup node plugin, and make it play nice with nodenv 2020-07-08 11:32:12 -05:00
nodenv.plugin.bash init - bash its automatically load auto-completion 2018-11-21 02:05:19 +07:00
nvm.plugin.bash Added load priority for nvm plugin 2017-06-24 17:31:30 +02:00
osx-timemachine.plugin.bash Added plugin for OS X Time Machine 2015-08-25 10:00:41 +02:00
osx.plugin.bash Add plugin list jvms and pick default system-wide 2019-04-28 17:44:22 +07:00
pack.plugin.bash Add CNB pack cli plugin 2019-04-04 17:51:32 -04:00
percol.plugin.bash Remove fasd zz function from percol plugin 2020-02-14 14:03:54 -07:00
pipsi.plugin.bash [pathmunge] remove duplicate entry into PATH variable on reload command 2015-06-07 20:08:39 -07:00
plenv.plugin.bash init - bash its automatically load auto-completion 2018-11-21 02:05:19 +07:00
postgres.plugin.bash Removed trailing whitespaces 2020-10-29 19:57:14 +02:00
powerline.plugin.bash Removed trailing whitespaces 2020-10-29 19:57:14 +02:00
projects.plugin.bash attempt to simplify the description 2020-07-12 16:21:14 -05:00
proxy.plugin.bash Added proxy exceptions (noproxy) for npm 2019-09-02 11:40:51 +01:00
pyenv.plugin.bash Remove errors if plugin executable not available 2019-07-29 07:07:58 -07:00
python.plugin.bash Python errors handling in 'pyedit' command 2017-03-21 15:01:29 +03:00
rails.plugin.bash Updated meta information 2016-05-23 08:45:46 +02:00
rbenv.plugin.bash Remove errors if plugin executable not available 2019-07-29 07:07:58 -07:00
ruby.plugin.bash [pathmunge] remove duplicate entry into PATH variable on reload command 2015-06-07 20:08:39 -07:00
rvm.plugin.bash fixes #343 by surrounding $HOME (which can have spaces) with quotations marks 2015-04-29 14:56:46 +02:00
sdkman.plugin.bash Fix EOF 2020-10-29 19:57:14 +02:00
ssh.plugin.bash Update ssh.plugin.bash 2020-02-16 15:44:50 +08:00
sshagent.plugin.bash Remove echo when a dead SSH Agent PID is found 2020-05-02 14:46:05 +02:00
subversion.plugin.bash standardize plugins, update metadata 2012-05-13 22:13:54 -04:00
sudo.plugin.bash Added function metadata and bash version check 2020-04-13 13:35:52 +02:00
textmate.plugin.bash Added check for presence of textmate executable 2015-07-20 17:41:55 +02:00
thefuck.plugin.bash Renamed the fuck plugin 2020-02-16 12:38:14 +01:00
tmux.plugin.bash standardize plugins, update metadata 2012-05-13 22:13:54 -04:00
tmuxinator.plugin.bash fixes #343 by surrounding $HOME (which can have spaces) with quotations marks 2015-04-29 14:56:46 +02:00
todo.plugin.bash Removed embedded todo script 2016-04-26 09:20:45 +02:00
virtualenv.plugin.bash Change to _command_exists helper 2018-04-11 14:59:56 +08:00
xterm.plugin.bash plugins: xterm: Fix shfmt complaints 2021-01-23 22:47:15 +02:00
z_autoenv.plugin.bash fixes #343 by surrounding $HOME (which can have spaces) with quotations marks 2015-04-29 14:56:46 +02:00