Skip to content

Commit

Permalink
themes/copied-duru: Split PS1 lines
Browse files Browse the repository at this point in the history
  • Loading branch information
akinomyoga committed Nov 24, 2024
1 parent ac1d4d6 commit 1a1cdd4
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion themes/copied-duru/copied-duru.theme.sh
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,10 @@ function _omb_theme_PROMPT_COMMAND {
local git_prefix=
[[ $(_omb_prompt_git branch 2> /dev/null) ]] && git_prefix=' on '

PS1="${GREEN}#${python_venv} ${PURPLE}\u@${WHITE}\h${GREEN} ${current_time}>${RESET} ${PURPLE}<\w${WHITE}${git_prefix}${MAGENTA}$(parse_git_branch)${PURPLE}>${RESET}\n${GREEN}$ ${RESET}"
PS1=$GREEN'#'$python_venv' '$PURPLE'\u@'$WHITE'\h'$GREEN
PS1+=' '$current_time'>'$RESET
PS1+=' '$PURPLE'<\w'$WHITE$git_prefix$MAGENTA$(parse_git_branch)
PS1+=$PURPLE'>'$RESET'\n'$GREEN'$ '$RESET
}

_omb_util_add_prompt_command _omb_theme_PROMPT_COMMAND

0 comments on commit 1a1cdd4

Please sign in to comment.