Skip to content

Commit

Permalink
lib/helpers: set return value of pathmunge
Browse files Browse the repository at this point in the history
This allows use as a test condition, but for very simple plugins this sets the return value for the whole plugin
  • Loading branch information
gaelicWizard committed Feb 13, 2022
1 parent 5ca5006 commit 81a7309
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion plugins/available/go.plugin.bash
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ _bash-it-gopath-pathmunge() {
pathmunge "${apath}/bin" || true
done
}
_bash-it-gopath-pathmunge
_bash-it-gopath-pathmunge || true
1 change: 0 additions & 1 deletion plugins/available/ruby.plugin.bash
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
# shellcheck shell=bash
cite about-plugin
about-plugin 'ruby and rubygems specific functions and settings'

# Make commands installed with 'gem install --user-install' available
Expand Down

0 comments on commit 81a7309

Please sign in to comment.