Skip to content

Commit

Permalink
Beautify
Browse files Browse the repository at this point in the history
  • Loading branch information
awerebea committed Sep 14, 2023
1 parent 22e61bd commit 6e4c244
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions themes/powerbash10k/powerbash10k.theme.sh
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ function __pb10k_format_duration {
fi
}

# Last command duration time
# Last command duration
function __pb10k_timer_start {
__pb10k_timer=${__pb10k_timer:-$SECONDS}
}
Expand Down Expand Up @@ -156,7 +156,7 @@ function __pb10k_prompt_scm {
color=$_omb_prompt_bold_green
scm
box=""
info="$(if [ "$SCM" == "git" ]; then echo ""; fi) "
info="$(if [ "$SCM" == "git" ]; then echo " "; fi)"
info+="$(if [ "$SCM" != "NONE" ]; then echo "$(scm_prompt_info)"; fi)"
[ "$info" == "" ] && return
printf "%s|%s|%s|%s" "$color" "$info" "$_omb_prompt_bold_green" "$box"
Expand Down Expand Up @@ -243,7 +243,7 @@ function __pb10k_prompt_char {
printf "%s|%s" "$color" "$__PB10K_PROMPT_CHAR_PS1"
}

function __pb10k_prompt_time_duration {
function __pb10k_prompt_cmd_duration {
local color box info
color=$_omb_prompt_bold_navy
box=""
Expand Down Expand Up @@ -342,7 +342,7 @@ __PB10K_PROMPT_CHAR_PS1=${THEME_PROMPT_CHAR_PS1:-"❯"}
__PB10K_PROMPT_CHAR_PS2=${THEME_PROMPT_CHAR_PS2:-"\\"}

__PB10K_TOP_LEFT=${__PB10K_TOP_LEFT:-"dir scm"}
__PB10K_TOP_RIGHT=${__PB10K_TOP_RIGHT:-"exitcode time_duration user_info python ruby todo clock battery"}
__PB10K_TOP_RIGHT=${__PB10K_TOP_RIGHT:-"exitcode cmd_duration user_info python ruby todo clock battery"}
__PB10K_BOTTOM=${__PB10K_BOTTOM:-"char"}
__PB10K_PROMPT_LOCAL_USER_INFO=${__PB10K_PROMPT_LOCAL_USER_INFO:-"true"}

Expand Down

0 comments on commit 6e4c244

Please sign in to comment.