mirror of
https://github.com/denisidoro/navi.git
synced 2026-07-28 20:41:02 +00:00
Introduce tests/shell with bash/zsh/fish coverage and deterministic fixtures; wire a shell-tests workflow gated on shell/ and tests/shell/. Closes GH-1014. Covers GH-1010-style multiline snippet behavior.
14 lines
410 B
Bash
14 lines
410 B
Bash
# Minimal interactive bash startup used by tests/shell/run.
|
|
# Loaded via `bash --rcfile <this-file> -i`.
|
|
|
|
PS1='NAVIPROMPT> '
|
|
PS2='> '
|
|
|
|
# Disable history expansion so test queries containing `!` don't blow
|
|
# up, and disable command-not-found hooks for cleaner pane output.
|
|
set +H
|
|
unset PROMPT_COMMAND
|
|
|
|
if [ -n "${SHELL_TESTS_PLUGIN:-}" ] && [ -f "$SHELL_TESTS_PLUGIN" ]; then
|
|
source "$SHELL_TESTS_PLUGIN"
|
|
fi
|