lib/command_duration: rename `theme/command_duration.theme`

Rename the `theme/command_duration.theme` file as it's not really got anything to do with theming or SCM.
pull/1906/head
John D Pell 2022-03-04 12:43:02 -08:00
parent 6ca10cf84c
commit 4e0e59230b
4 changed files with 2 additions and 5 deletions

View File

@ -51,8 +51,6 @@ if [[ -n "${BASH_IT_THEME:-}" ]]; then
source "${BASH_IT}/themes/githelpers.theme.bash"
BASH_IT_LOG_PREFIX="themes: p4helpers: "
source "${BASH_IT}/themes/p4helpers.theme.bash"
BASH_IT_LOG_PREFIX="themes: command_duration: "
source "${BASH_IT}/themes/command_duration.theme.bash"
BASH_IT_LOG_PREFIX="themes: base: "
source "${BASH_IT}/themes/base.theme.bash"

View File

@ -78,6 +78,7 @@ completion/available/wpscan.completion.bash
# libraries
lib/appearance.bash
lib/colors.bash
lib/command_duration.bash
lib/helpers.bash
lib/history.bash
lib/log.bash
@ -155,7 +156,6 @@ themes/bobby-python
themes/brainy
themes/brunton
themes/candy
themes/command_duration.theme.bash
themes/easy
themes/essential
themes/githelpers.theme.bash

View File

@ -3,8 +3,7 @@
load "${MAIN_BASH_IT_DIR?}/test/test_helper.bash"
function local_setup_file() {
setup_libs "preexec" #"command_duration"
load ../../themes/command_duration.theme
setup_libs "command_duration"
load "${BASH_IT?}/plugins/available/cmd-returned-notify.plugin.bash"
}