1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-11-11 08:00:06 +00:00
This commit is contained in:
romkatv 2020-02-10 15:09:35 +01:00
parent 924dfe6889
commit b86eb6a037

View file

@ -4162,7 +4162,7 @@ function _p9k_fetch_nordvpn_status() {
local -i n local -i n
{ {
IFS='' read -t 0.25 -r tag IFS='' read -t 0.25 -r tag
tag=$'\015' tag=$'\n'
while true; do while true; do
tag=$((#tag)) tag=$((#tag))
(( (tag >>= 3) && tag <= $#__p9k_nordvpn_tag )) || break (( (tag >>= 3) && tag <= $#__p9k_nordvpn_tag )) || break