add bash-it
This commit is contained in:
16
dot_bash_it/plugins/available/plenv.plugin.bash
Normal file
16
dot_bash_it/plugins/available/plenv.plugin.bash
Normal file
@@ -0,0 +1,16 @@
|
||||
# shellcheck shell=bash
|
||||
#
|
||||
# plugin for plenv
|
||||
|
||||
cite about-plugin
|
||||
about-plugin 'plenv plugin for Perl'
|
||||
|
||||
if [[ -d "${HOME}/.plenv/bin" ]]; then
|
||||
# load plenv bin dir into path if it exists
|
||||
pathmunge "${HOME}/.plenv/bin"
|
||||
fi
|
||||
|
||||
if _command_exists plenv; then
|
||||
# init plenv
|
||||
eval "$(plenv init - bash)"
|
||||
fi
|
||||
Reference in New Issue
Block a user