Converting timer start time to hex
This commit is contained in:
parent
421f506bf8
commit
54a444535a
|
@ -79,7 +79,7 @@ function getRelevantItem() {
|
||||||
done
|
done
|
||||||
}
|
}
|
||||||
|
|
||||||
# OS detection for the `os_icon` segment
|
# OS detection
|
||||||
case $(uname) in
|
case $(uname) in
|
||||||
Darwin)
|
Darwin)
|
||||||
OS='OSX'
|
OS='OSX'
|
||||||
|
|
|
@ -1290,8 +1290,7 @@ powerlevel9k_prepare_prompts() {
|
||||||
_P9K_COMMAND_DURATION=$((EPOCHREALTIME - _P9K_TIMER_START))
|
_P9K_COMMAND_DURATION=$((EPOCHREALTIME - _P9K_TIMER_START))
|
||||||
|
|
||||||
# Reset start time
|
# Reset start time
|
||||||
# Maximum integer on 32-bit CPUs
|
_P9K_TIMER_START=0xFFFFFFFF
|
||||||
_P9K_TIMER_START=2147483647
|
|
||||||
|
|
||||||
if [[ "$POWERLEVEL9K_PROMPT_ON_NEWLINE" == true ]]; then
|
if [[ "$POWERLEVEL9K_PROMPT_ON_NEWLINE" == true ]]; then
|
||||||
PROMPT="$(print_icon 'MULTILINE_FIRST_PROMPT_PREFIX')%f%b%k$(build_left_prompt)
|
PROMPT="$(print_icon 'MULTILINE_FIRST_PROMPT_PREFIX')%f%b%k$(build_left_prompt)
|
||||||
|
|
Loading…
Reference in New Issue