Skip to content

Commit 0d96299

Browse files
committed
zfsbootmenu: look less bad on BIOS consoles
1 parent b80ac54 commit 0d96299

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

zfsbootmenu/lib/fzf-defaults.sh

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,9 @@
77

88
# shellcheck disable=SC2016
99
fuzzy_default_options=(
10-
"--ansi" "--no-clear" "--cycle" "--color=16"
10+
"--ansi" "--no-clear" "--cycle"
1111
"--layout=reverse-list" "--inline-info" "--tac"
12+
"--color='base16,current-fg:red,selected-fg:magenta'"
1213
"--bind" '"alt-h:execute[ /libexec/zfsbootmenu-help -L ${HELP_SECTION:-main-screen} 1>/dev/null ]"'
1314
"--bind" '"ctrl-h:execute[ /libexec/zfsbootmenu-help -L ${HELP_SECTION:-main-screen} 1>/dev/null ]"'
1415
"--bind" '"ctrl-alt-h:execute[ /libexec/zfsbootmenu-help -L ${HELP_SECTION:-main-screen} 1>/dev/null ]"'
@@ -35,7 +36,7 @@ if [ ${loglevel:-4} -eq 7 ] ; then
3536
)
3637
fi
3738

38-
if [ -n "${HAS_RAW}" ]; then
39+
if [ -n "${HAS_RAW}" ] && is_efi_system ; then
3940
fuzzy_default_options+=(
4041
"--raw"
4142
"--gutter-raw" '" "'

0 commit comments

Comments
 (0)