diff options
author | Dominik Ritter <dritter03@googlemail.com> | 2017-02-14 03:24:32 +0300 |
---|---|---|
committer | Dominik Ritter <dritter03@googlemail.com> | 2017-02-14 03:24:32 +0300 |
commit | 0461b56f2aa8ffaa1f06c1f33bbe756e15a28eb1 (patch) | |
tree | a54e71d921bb81a2f65c29692396eab9a8d7300e /powerlevel9k.zsh-theme | |
parent | e105118f398748738849daabc800cc890323a542 (diff) |
Fix wrong variable name
Diffstat (limited to 'powerlevel9k.zsh-theme')
-rwxr-xr-x | powerlevel9k.zsh-theme | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/powerlevel9k.zsh-theme b/powerlevel9k.zsh-theme index 0bcc6d97..69bad29f 100755 --- a/powerlevel9k.zsh-theme +++ b/powerlevel9k.zsh-theme @@ -564,7 +564,7 @@ prompt_custom() { prompt_command_execution_time() { 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 3600 ]] && duration=$(strftime '%H:%M:%S' $_P9K_COMMAND_DURATION) |