bash-it/plugins/available
John D Pell 6ca10cf84c plugin/cmd-returned-notify: Rewrite to match/use `lib/command_duration`
Use `$EPOCHREALTIME` (or `$SECONDS`) built-in variable provided by Bash instead of `date +%s`. We're only measuing the difference in seconds, so avoid both the binary invocation as well as the subshell.

Alsö, Reduce environmental pollution by not exporting every variable, and unsetting when done.

Change variable names to match lib/command-duration

Remove `preexec_return_notification()` in favor of `lib/command-duration`'s `_command_duration_pre_exec()`.

This should now use the same preexec hook and variables as the theme library `command_duration`.

tests: handle nanoseconds
2022-03-04 12:58:07 -08:00
..
alias-completion.plugin.bash completion/aliases: typo 2022-02-14 16:00:15 -08:00
autojump.plugin.bash Revert most of "Fix linting errors that snuck in." 2021-12-27 16:18:20 -08:00
aws.plugin.bash fix for issue #1418 2020-04-27 21:22:23 -07:00
base.plugin.bash plugin/base: rewrite `t()` function to use `todo.sh` 2022-01-01 17:50:55 -08: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 plugin/battery: fix handling of multiple batteries with `upower` 2022-03-03 23:45:40 -08:00
blesh.plugin.bash plugin/blesh: override possible arguments inherited by callers 2022-02-19 16:34:22 +09:00
boot2docker.plugin.bash Don't call external `uname` when `$OSTYPE` will do (#1911) 2021-08-14 10:20:12 +03: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 plugin/cmd-returned-notify: Rewrite to match/use `lib/command_duration` 2022-03-04 12:58:07 -08:00
colors.plugin.bash plugin/colors: `shfmt` 2022-01-28 13:09:00 -08:00
direnv.plugin.bash plugins/direnv: use `_command_exists` 2021-09-19 21:58:48 -07:00
dirs.plugin.bash Tilde expanstion won't work once it is a quoted string, expanding in advance. 2022-02-11 09:56:10 +02: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 Update extract.plugin.bash 2021-03-24 18:42:44 +08: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 Fix checking whether fzf is already in PATH 2021-12-28 06:54:25 +02:00
gif.plugin.bash plugin/gif: `shfmt` 2022-01-08 08:43:17 -08:00
git-subrepo.plugin.bash plugin/git-subrepo: `shellcheck` 2022-01-01 22:48:01 -08:00
git.plugin.bash Delete `.shellcheckrc` (#1947) 2021-09-18 12:50:59 +03: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 Delete `.shellcheckrc` (#1947) 2021-09-18 12:50:59 +03:00
gradle.plugin.bash gradle: adopt `_bash_it_find_in_ancestor()` 2021-09-22 15:30:07 -07:00
hg.plugin.bash update plugin management 2012-05-13 22:13:54 -04:00
history-eternal.plugin.bash plugin/history-eternal: Use `readonly` instead of `export` 2022-02-08 16:59:29 -08:00
history-search.plugin.bash plugin/history*search: no need to load after `plugin/history` 2022-02-08 16:59:29 -08:00
history-substring-search.plugin.bash plugin/history*search: no need to load after `plugin/history` 2022-02-08 16:59:29 -08:00
history.plugin.bash lib/history: new functions `_bash-it-history-auto-*()` 2022-02-08 16:59:29 -08:00
hub.plugin.bash plugins/hub: use `_command_exists` 2021-09-19 21:58:48 -07:00
java.plugin.bash plugin/java: show message on missing *or* blank 2021-12-30 22:35:34 -08:00
javascript.plugin.bash plugins-help is much faster 2012-05-15 14:29:06 -04:00
jekyll.plugin.bash plugin/jekyll: try to shorten the flow 2021-12-27 12:22:42 -08: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 plugins/jump: use `_command_exists` 2021-09-19 21:58:47 -07:00
latex.plugin.bash plugins/latex: 2009 was 12 years ago 2022-01-08 08:43:32 -08:00
less-pretty-cat.plugin.bash plugin/less-pretty-cat: remove `|| cat` 2021-09-23 15:42:23 -07:00
man.plugin.bash plugin/man: simplify 2022-01-01 17:49:45 -08:00
nginx.plugin.bash plugin/nginx: cleanup 2022-01-08 08:44:05 -08:00
node.plugin.bash plugins/node: use `_command_exists` 2021-09-19 21:54:21 -07:00
nodenv.plugin.bash plugins/nodenv: use `_command_exists` 2021-09-19 21:58:48 -07:00
nvm.plugin.bash plugins/nvm: use `_command_exists` 2021-09-19 21:54:00 -07:00
osx-timemachine.plugin.bash plugin/osx-timemachine: abuse `$SUDO_COMMAND` 2022-01-01 17:50:22 -08:00
osx.plugin.bash plugin/osx: move `$OSTYPE` check to top of file 2022-01-01 17:50:22 -08:00
pack.plugin.bash Add CNB pack cli plugin 2019-04-04 17:51:32 -04:00
percol.plugin.bash plugins/percol: `bind` 2021-09-26 11:54:32 -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 plugins/plenv: use `_command_exists` 2021-09-19 21:58:48 -07:00
postgres.plugin.bash Removed trailing whitespaces 2020-10-29 19:57:14 +02:00
powerline.plugin.bash plugins/powerline: use `_command_exists` 2021-09-19 21:53:59 -07:00
projects.plugin.bash plugin/projects: refactor a bit 2022-01-18 20:47:08 -08:00
proxy.plugin.bash plugin/proxy: `shellcheck` && `shfmt` 2022-01-09 00:40:49 -08:00
pyenv.plugin.bash clean up pyenv plugin 2021-09-28 07:44:40 -05:00
python.plugin.bash plugin/python: Pyton 2 is dead; Long Live Python 3! 2022-01-05 13:29:35 -08:00
rails.plugin.bash Updated meta information 2016-05-23 08:45:46 +02:00
rbenv.plugin.bash plugins/rbenv: use `_command_exists` 2021-09-19 21:58:48 -07:00
ruby.plugin.bash plugin/ruby: add missing parameter error message 2021-09-22 13:37:18 -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 plugins/textmate: use `_command_exists` 2021-09-19 21:52:46 -07: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 plugin/base: rewrite `t()` function to use `todo.sh` 2022-01-01 17:50:55 -08:00
virtualenv.plugin.bash plugins/virtualenv: use `_command_exists` 2021-09-19 21:58:48 -07:00
xterm.plugin.bash plugin/xterm: don't rely on `$1` 2021-10-20 15:50:15 -04:00
z_autoenv.plugin.bash drop `dirname` in favor of native Bash strings (1 of 2) 2021-09-16 16:59:02 -07:00
zoxide.plugin.bash plugin: add zoxide 2021-11-24 16:49:46 +05:30