style(themes/wanelo): adjust styles

* style(themes/wanelo): fix indentation
* style(themes/wanelo): use arithmetic command
* style(themes/wanelo): use "function func { ... }"
This commit is contained in:
Koichi Murase
2024-05-02 09:28:59 +09:00
parent 86efbf1bdc
commit 3b120c1dc4

View File

@@ -12,8 +12,8 @@ GIT_THEME_PROMPT_SUFFIX="${_omb_prompt_green}|"
RVM_THEME_PROMPT_PREFIX="|"
RVM_THEME_PROMPT_SUFFIX="|"
function _omb_theme_PROMPT_COMMAND() {
if [ $? -eq 0 ]; then
function _omb_theme_PROMPT_COMMAND {
if (($? == 0)); then
status=❤️
else
status=💔