Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit a6fd930

Browse files
authoredMar 8, 2022
Merge pull request #2114 from NoahGorny/fix-preview
Fix bash-it preview
2 parents 23ac376 + 13531c9 commit a6fd930

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed
 

‎lib/preview.bash

+1-1
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ function _bash-it-preview() {
2424
# shellcheck disable=SC2034
2525
for BASH_IT_THEME in "${themes[@]}"; do
2626
BASH_IT_LOG_LEVEL=0
27-
bash --init-file "${BASH_IT_BASHRC:-${BASH_IT?}/bash_it.sh}" -i <<< '_bash-it-flash-term "${#BASH_IT_THEME}" "${BASH_IT_THEME}"'
27+
bash --init-file "${BASH_IT?}/bash_it.sh" -i <<< '_bash-it-flash-term "${#BASH_IT_THEME}" "${BASH_IT_THEME}"'
2828
done
2929
}
3030

‎lib/search.bash

+1-1
Original file line numberDiff line numberDiff line change
@@ -347,7 +347,7 @@ function _bash-it-flash-term() {
347347
local -i len="${1:-0}" # redundant
348348
local term="${2:-}"
349349
# as currently implemented, `$match` has already been printed to screen the first time
350-
local delay=0.1
350+
local delay=0.2
351351
local color
352352
[[ "${#term}" -gt 0 ]] && len="${#term}"
353353

0 commit comments

Comments
 (0)
Please sign in to comment.