plugins/bash-preexec: Add loader

* plugins/bash-preexec: Add loader
* plugins/bash-preexec/README: Fix description
This commit is contained in:
Koichi Murase 2022-10-02 11:04:27 +09:00
parent b07eaa1ce4
commit 4026ab6380
2 changed files with 5 additions and 1 deletions

View File

@ -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.

View File

@ -0,0 +1,4 @@
#! bash oh-my-bash.module
if [[ ! ${bash_preexec_imported:-${__bp_imported:-}} ]]; then
source "$OSH/tools/bash-preexec.sh"
fi