strip newlines

This commit is contained in:
Nicole O'Connor 2020-10-21 23:14:06 -07:00
parent c25175f511
commit a1ef62f661

View File

@ -2,10 +2,9 @@ source ~/.local/share/zeesh/base/zeesh.zsh
ticker_message "zeesh: bootstrap" ticker_message "zeesh: bootstrap"
cols=$(stty -a | grep -Po '(?<=columns )\d+') cols=$(stty -a | grep -Po '(?<=columns )\d+' | tr -d "\n")
if [[ $cols -lt 80 ]]; then if [[ $cols -lt 80 ]]; then
echo "debug: $cols"
if [[ $(uname -o) == "Android" ]]; then if [[ $(uname -o) == "Android" ]]; then
hostemoji="📞" hostemoji="📞"
else else