Compare commits

...

3 Commits

Author SHA1 Message Date
Ben Huebscher 6d2fc9a40a
Merge 7d4df94bfc into 6e7ac0544e 2025-02-20 06:13:19 +01:00
tuzi3040 6e7ac0544e
fix(agnoster): print white text over black for light theme only (#12983) 2025-02-19 12:37:18 +01:00
Ben Huebscher 7d4df94bfc
symfony2: fix console selection priority 2020-01-06 01:54:36 -08:00
2 changed files with 11 additions and 5 deletions

View File

@ -1,7 +1,7 @@
# Symfony2 basic command completion
_symfony_console () {
echo "php $(find . -maxdepth 2 -mindepth 1 -name 'console' -type f | head -n 1)"
echo "php $(find . -maxdepth 2 -mindepth 1 -name 'console' -type f | tail -n 1)"
}
_symfony2_get_command_list () {

View File

@ -35,8 +35,14 @@
CURRENT_BG='NONE'
case ${SOLARIZED_THEME:-dark} in
light) CURRENT_FG='white';;
*) CURRENT_FG='black';;
light)
CURRENT_FG='white'
CURRENT_DEFAULT_FG='white'
;;
*)
CURRENT_FG='black'
CURRENT_DEFAULT_FG='default'
;;
esac
### Theme Configuration Initialization
@ -48,7 +54,7 @@ esac
: ${AGNOSTER_DIR_BG:=blue}
# user@host
: ${AGNOSTER_CONTEXT_FG:=white}
: ${AGNOSTER_CONTEXT_FG:=${CURRENT_DEFAULT_FG}}
: ${AGNOSTER_CONTEXT_BG:=black}
# Git related
@ -85,7 +91,7 @@ esac
: ${AGNOSTER_STATUS_RETVAL_FG:=red}
: ${AGNOSTER_STATUS_ROOT_FG:=yellow}
: ${AGNOSTER_STATUS_JOB_FG:=cyan}
: ${AGNOSTER_STATUS_FG:=white}
: ${AGNOSTER_STATUS_FG:=${CURRENT_DEFAULT_FG}}
: ${AGNOSTER_STATUS_BG:=black}
## Non-Color settings - set to 'true' to enable