mirror of
https://github.com/romkatv/powerlevel10k.git
synced 2024-11-14 00:50:08 +00:00
typo
This commit is contained in:
parent
d65e7eb926
commit
259a2954cd
1 changed files with 1 additions and 1 deletions
|
@ -2742,7 +2742,7 @@ function _p9k_set_prompt() {
|
||||||
if (( i == num_lines && (POWERLEVEL9K_DIR_MIN_COMMAND_COLUMNS > 0 || POWERLEVEL9K_DIR_MIN_COMMAND_COLUMNS_PCT > 0) )); then
|
if (( i == num_lines && (POWERLEVEL9K_DIR_MIN_COMMAND_COLUMNS > 0 || POWERLEVEL9K_DIR_MIN_COMMAND_COLUMNS_PCT > 0) )); then
|
||||||
local a=$POWERLEVEL9K_DIR_MIN_COMMAND_COLUMNS
|
local a=$POWERLEVEL9K_DIR_MIN_COMMAND_COLUMNS
|
||||||
local f=$((0.01*POWERLEVEL9K_DIR_MIN_COMMAND_COLUMNS_PCT))'*_P9K_CLM'
|
local f=$((0.01*POWERLEVEL9K_DIR_MIN_COMMAND_COLUMNS_PCT))'*_P9K_CLM'
|
||||||
PROMPT+="\${\${_P9K_G::=$((($a<$f)*$f+($a>=$f)*$a))}}+}"
|
PROMPT+="\${\${_P9K_G::=$((($a<$f)*$f+($a>=$f)*$a))}+}"
|
||||||
else
|
else
|
||||||
PROMPT+='${${_P9K_G::=0}+}'
|
PROMPT+='${${_P9K_G::=0}+}'
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue