From 58fad4d664d0508ac1e663f0084dc7a3e93ee9d4 Mon Sep 17 00:00:00 2001 From: cornfeedhobo Date: Fri, 25 Sep 2020 16:19:23 -0500 Subject: [PATCH] add basher plugin --- plugins/available/basher.plugin.bash | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 plugins/available/basher.plugin.bash diff --git a/plugins/available/basher.plugin.bash b/plugins/available/basher.plugin.bash new file mode 100644 index 00000000..0424f464 --- /dev/null +++ b/plugins/available/basher.plugin.bash @@ -0,0 +1,14 @@ +cite about-plugin +about-plugin 'initializes basher, the shell package manager' + +# https://github.com/basherpm/basher + +_command_exists basher || + [[ -x "$HOME/.basher/bin/basher" ]] || + return 0 + +if ! _command_exists basher && [[ -x "$HOME/.basher/bin/basher" ]] ; then + pathmunge "$HOME/.basher/bin" +fi + +eval "$(basher init - bash)"