fleckenstein.zsh-theme: Fix automatic user length
This commit is contained in:
parent
1047f3dfee
commit
feb3c228be
@ -19,8 +19,8 @@ function theme_precmd {
|
||||
USER_ALIAS=$USER
|
||||
fi
|
||||
|
||||
if [[ "USER_ALIAS_LENGTH" == "" ]]; then
|
||||
USER_ALIAS_LENGTH=${#$USER_ALIAS}
|
||||
if [[ "$USER_ALIAS_LENGTH" == "" ]]; then
|
||||
USER_ALIAS_LENGTH=${#${USER_ALIAS}}
|
||||
fi
|
||||
|
||||
local promptsize=${#${(%):-------[@%m:%l)---()--}}
|
||||
|
Loading…
x
Reference in New Issue
Block a user