strip newlines

This commit is contained in:
Nicole O'Connor 2020-10-21 23:14:06 -07:00
parent c25175f511
commit a1ef62f661
1 changed files with 1 additions and 2 deletions

View File

@ -2,10 +2,9 @@ source ~/.local/share/zeesh/base/zeesh.zsh
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
echo "debug: $cols"
if [[ $(uname -o) == "Android" ]]; then
hostemoji="📞"
else