mirror of
https://github.com/Stunkymonkey/dotfiles.git
synced 2025-05-24 19:14:39 +02:00
shell/*: fix most shellcheck errors
This commit is contained in:
parent
ced309e5a4
commit
0d8a6f0c01
9 changed files with 67 additions and 53 deletions
|
@ -1,16 +1,25 @@
|
|||
#!/bin/sh
|
||||
|
||||
if [ -z "${IN_NIX_SHELL}" ]; then
|
||||
# shellcheck disable=SC2034 # Unused variables left for readability
|
||||
LP_ENABLE_TITLE=1
|
||||
# shellcheck disable=SC2034 # Unused variables left for readability
|
||||
LP_ENABLE_SSH_COLORS=1
|
||||
# shellcheck disable=SC2034 # Unused variables left for readability
|
||||
LP_ENABLE_VCS_ROOT=1
|
||||
# shellcheck disable=SC2034 # Unused variables left for readability
|
||||
LP_DISABLED_VCS_PATH=""
|
||||
# shellcheck disable=SC2034 # Unused variables left for readability
|
||||
LP_ENABLE_TEMP=0
|
||||
# shellcheck disable=SC2034 # Unused variables left for readability
|
||||
LP_ENABLE_BATT=0
|
||||
# shellcheck disable=SC2034 # Unused variables left for readability
|
||||
LP_ENABLE_SUDO=1
|
||||
|
||||
# Show the time for commands executing longer than 5 seconds
|
||||
# shellcheck disable=SC2034 # Unused variables left for readability
|
||||
LP_RUNTIME_THRESHOLD=5
|
||||
|
||||
source ~/.liquidprompt/liquidprompt
|
||||
# shellcheck source=../bash/liquidprompt/liquidprompt
|
||||
. ~/.liquidprompt/liquidprompt
|
||||
fi
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue