linting clean up

pull/1762/head
cornfeedhobo 2021-01-03 23:19:53 -06:00
parent 4f7fc134ad
commit 8087e7af49
No known key found for this signature in database
GPG Key ID: 724357093F994B26
2 changed files with 14 additions and 9 deletions

View File

@ -24,6 +24,10 @@ docs
bash_it.sh bash_it.sh
lint_clean_files.sh lint_clean_files.sh
# libs
#
lib/appearance.bash
# themes # themes
# #
themes/90210 themes/90210

View File

@ -1,4 +1,5 @@
#!/usr/bin/env bash #!/usr/bin/env bash
# shellcheck disable=SC1090
# colored ls # colored ls
export LSCOLORS='Gxfxcxdxdxegedabagacad' export LSCOLORS='Gxfxcxdxdxegedabagacad'
@ -8,9 +9,9 @@ if [[ -z "$CUSTOM_THEME_DIR" ]]; then
fi fi
# Load the theme # Load the theme
if [[ $BASH_IT_THEME ]]; then if [[ "$BASH_IT_THEME" ]]; then
if [[ -f $BASH_IT_THEME ]]; then if [[ -f $BASH_IT_THEME ]]; then
source $BASH_IT_THEME source "$BASH_IT_THEME"
elif [[ -f "$CUSTOM_THEME_DIR/$BASH_IT_THEME/$BASH_IT_THEME.theme.bash" ]]; then elif [[ -f "$CUSTOM_THEME_DIR/$BASH_IT_THEME/$BASH_IT_THEME.theme.bash" ]]; then
source "$CUSTOM_THEME_DIR/$BASH_IT_THEME/$BASH_IT_THEME.theme.bash" source "$CUSTOM_THEME_DIR/$BASH_IT_THEME/$BASH_IT_THEME.theme.bash"
else else