dotfiles/shell/liquidprompt.sh

26 lines
927 B
Bash
Raw Normal View History

#!/bin/sh
if [ -z "${IN_NIX_SHELL}" ]; then
2021-12-06 12:41:02 +01:00
# shellcheck disable=SC2034 # Unused variables left for readability
LP_ENABLE_TITLE=1
2021-12-06 12:41:02 +01:00
# shellcheck disable=SC2034 # Unused variables left for readability
LP_ENABLE_SSH_COLORS=1
2021-12-06 12:41:02 +01:00
# shellcheck disable=SC2034 # Unused variables left for readability
LP_ENABLE_VCS_ROOT=1
2021-12-06 12:41:02 +01:00
# shellcheck disable=SC2034 # Unused variables left for readability
LP_DISABLED_VCS_PATH=""
2021-12-06 12:41:02 +01:00
# shellcheck disable=SC2034 # Unused variables left for readability
LP_ENABLE_TEMP=0
2021-12-06 12:41:02 +01:00
# shellcheck disable=SC2034 # Unused variables left for readability
LP_ENABLE_BATT=0
2021-12-06 12:41:02 +01:00
# shellcheck disable=SC2034 # Unused variables left for readability
LP_ENABLE_SUDO=1
2017-01-26 13:48:55 +01:00
# Show the time for commands executing longer than 5 seconds
2021-12-06 12:41:02 +01:00
# shellcheck disable=SC2034 # Unused variables left for readability
LP_RUNTIME_THRESHOLD=5
2021-12-06 12:41:02 +01:00
# shellcheck source=../bash/liquidprompt/liquidprompt
. ~/.liquidprompt/liquidprompt
fi