mirror of
https://github.com/ohmybash/oh-my-bash.git
synced 2024-09-21 02:17:11 +00:00
feat(themes/powerline-icon): support THEME_CLOCK_FORMAT in .bashrc
This commit is contained in:
parent
08e297c631
commit
1d0ea0fa1e
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user