feat(themes/powerline-icon): support THEME_CLOCK_FORMAT in .bashrc

This commit is contained in:
Erwan Le Gall 2024-09-04 14:33:53 +02:00 committed by Koichi Murase
parent 08e297c631
commit 1d0ea0fa1e

View File

@ -32,7 +32,7 @@ function __powerline_user_info_prompt {
fi
;;
esac
[[ -n "${user_info}" ]] && _omb_util_print "$OMB_THEME_POWERLINE_ICON_USER ${user_info} `date +%X\ %D`|${color}|${secondary_color}"
[[ -n "${user_info}" ]] && _omb_util_print "$OMB_THEME_POWERLINE_ICON_USER ${user_info} `date +${THEME_CLOCK_FORMAT}`|${color}|${secondary_color}"
}
function __powerline_cwd_prompt {