mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-12 08:10:07 +00:00
Fix wrong variable name
This commit is contained in:
parent
e105118f39
commit
0461b56f2a
1 changed files with 1 additions and 1 deletions
|
@ -564,7 +564,7 @@ prompt_custom() {
|
||||||
prompt_command_execution_time() {
|
prompt_command_execution_time() {
|
||||||
set_default POWERLEVEL9K_COMMAND_EXECUTION_TIME_THRESHOLD 3
|
set_default POWERLEVEL9K_COMMAND_EXECUTION_TIME_THRESHOLD 3
|
||||||
|
|
||||||
local duration=$_P9K_DURATION_TIME
|
local duration=$_P9K_COMMAND_DURATION
|
||||||
|
|
||||||
[[ $_P9K_COMMAND_DURATION -gt 60 ]] && duration=$(strftime '%M:%S' $_P9K_COMMAND_DURATION)
|
[[ $_P9K_COMMAND_DURATION -gt 60 ]] && duration=$(strftime '%M:%S' $_P9K_COMMAND_DURATION)
|
||||||
[[ $_P9K_COMMAND_DURATION -gt 3600 ]] && duration=$(strftime '%H:%M:%S' $_P9K_COMMAND_DURATION)
|
[[ $_P9K_COMMAND_DURATION -gt 3600 ]] && duration=$(strftime '%H:%M:%S' $_P9K_COMMAND_DURATION)
|
||||||
|
|
Loading…
Reference in a new issue