diff --git a/plugins/bash-preexec/README.md b/plugins/bash-preexec/README.md index c9b4065..ddf0651 100644 --- a/plugins/bash-preexec/README.md +++ b/plugins/bash-preexec/README.md @@ -1,3 +1,3 @@ # bash preexec -this allows to set the window title on termux +This plugin loads `bash-preexec.sh` bundled with OMB if necessary. diff --git a/plugins/bash-preexec/bash-preexec.plugin.sh b/plugins/bash-preexec/bash-preexec.plugin.sh new file mode 100644 index 0000000..22323a9 --- /dev/null +++ b/plugins/bash-preexec/bash-preexec.plugin.sh @@ -0,0 +1,4 @@ +#! bash oh-my-bash.module +if [[ ! ${bash_preexec_imported:-${__bp_imported:-}} ]]; then + source "$OSH/tools/bash-preexec.sh" +fi