configs/home/.zsh-kali/themes/spaceship-prompt/lib/testkit.zsh

22 lines
502 B
Bash
Raw Permalink Normal View History

2023-06-30 21:45:57 +02:00
#!/usr/bin/env zsh
# ------------------------------------------------------------------------------
# TESTKIT
# Functions commonly used for testing
# ------------------------------------------------------------------------------
spaceship::testkit::render_prompt() {
prompt_spaceship_precmd
spaceship::prompt "$*"
}
spaceship::testkit::render_rprompt() {
prompt_spaceship_precmd
spaceship::rprompt "$*"
}
spaceship::testkit::render_ps2() {
prompt_spaceship_precmd
spaceship::ps2 "$*"
}