mirror of
https://github.com/ohmybash/oh-my-bash.git
synced 2024-05-11 05:55:37 +00:00
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:
@@ -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=💔
|
||||
|
Reference in New Issue
Block a user