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
|
USER_ALIAS=$USER
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [[ "USER_ALIAS_LENGTH" == "" ]]; then
|
if [[ "$USER_ALIAS_LENGTH" == "" ]]; then
|
||||||
USER_ALIAS_LENGTH=${#$USER_ALIAS}
|
USER_ALIAS_LENGTH=${#${USER_ALIAS}}
|
||||||
fi
|
fi
|
||||||
|
|
||||||
local promptsize=${#${(%):-------[@%m:%l)---()--}}
|
local promptsize=${#${(%):-------[@%m:%l)---()--}}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user