2018-05-23 13:33:43 +02:00
|
|
|
#!/bin/sh
|
|
|
|
|
2020-11-29 22:50:35 +01:00
|
|
|
if [ -z "${IN_NIX_SHELL}" ]; then
|
2021-12-06 12:41:02 +01:00
|
|
|
# shellcheck disable=SC2034 # Unused variables left for readability
|
2020-11-29 22:50:35 +01:00
|
|
|
LP_ENABLE_TITLE=1
|
2021-12-06 12:41:02 +01:00
|
|
|
# shellcheck disable=SC2034 # Unused variables left for readability
|
2020-11-29 22:50:35 +01:00
|
|
|
LP_ENABLE_SSH_COLORS=1
|
2021-12-06 12:41:02 +01:00
|
|
|
# shellcheck disable=SC2034 # Unused variables left for readability
|
2020-11-29 22:50:35 +01:00
|
|
|
LP_ENABLE_VCS_ROOT=1
|
2021-12-06 12:41:02 +01:00
|
|
|
# shellcheck disable=SC2034 # Unused variables left for readability
|
2020-11-29 22:50:35 +01:00
|
|
|
LP_DISABLED_VCS_PATH=""
|
2021-12-06 12:41:02 +01:00
|
|
|
# shellcheck disable=SC2034 # Unused variables left for readability
|
2020-11-29 22:50:35 +01:00
|
|
|
LP_ENABLE_TEMP=0
|
2021-12-06 12:41:02 +01:00
|
|
|
# shellcheck disable=SC2034 # Unused variables left for readability
|
2020-11-29 22:50:35 +01:00
|
|
|
LP_ENABLE_BATT=0
|
2021-12-06 12:41:02 +01:00
|
|
|
# shellcheck disable=SC2034 # Unused variables left for readability
|
2020-11-29 22:50:35 +01:00
|
|
|
LP_ENABLE_SUDO=1
|
2017-01-26 13:48:55 +01:00
|
|
|
|
2021-11-30 23:55:02 +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
|
2020-11-29 22:50:35 +01:00
|
|
|
LP_RUNTIME_THRESHOLD=5
|
|
|
|
|
2021-12-06 12:41:02 +01:00
|
|
|
# shellcheck source=../bash/liquidprompt/liquidprompt
|
|
|
|
. ~/.liquidprompt/liquidprompt
|
2020-11-29 22:50:35 +01:00
|
|
|
fi
|