diff --git a/clean_files.txt b/clean_files.txt index da5034d93b..6325d8a76c 100644 --- a/clean_files.txt +++ b/clean_files.txt @@ -28,6 +28,10 @@ lint_clean_files.sh themes/90210 themes/powerline +# plugins +# +plugins/available/basher.plugin.bash + # completions # completion/available/cargo.completion.bash diff --git a/plugins/available/basher.plugin.bash b/plugins/available/basher.plugin.bash new file mode 100644 index 0000000000..d226ffcbfb --- /dev/null +++ b/plugins/available/basher.plugin.bash @@ -0,0 +1,15 @@ +cite about-plugin +about-plugin 'initializes basher, the shell package manager' + +# https://github.com/basherpm/basher + +if ! _command_exists basher; then + if [[ -x "$HOME/.basher/bin/basher" ]]; then + pathmunge "$HOME/.basher/bin" + else + _log_warning 'basher not found' + return 0 + fi +fi + +eval "$(basher init - bash)"