bash-preexec-def.sh (693B)
1 # embedded in ble.sh for bash-preexec.bash 2 3 function ble/contrib/integration:bash-preexec/loader { 4 if [[ ${bp_imported-${__bp_imported}} ]]; then 5 blehook ATTACH-=ble/contrib/integration:bash-preexec/loader 6 blehook POSTEXEC-=ble/contrib/integration:bash-preexec/loader 7 if ble/util/import/is-loaded contrib/bash-preexec; then 8 ble/contrib/integration:bash-preexec/attach.hook 9 else 10 ble-import contrib/integration/bash-preexec 11 fi 12 fi 13 } 14 if [[ ${bp_imported-${__bp_imported}} ]]; then 15 ble-import contrib/integration/bash-preexec 16 else 17 blehook ATTACH!=ble/contrib/integration:bash-preexec/loader 18 blehook POSTEXEC!=ble/contrib/integration:bash-preexec/loader 19 fi