zsh evidently has a built in $COLUMNS var! who knew

This commit is contained in:
Nicole O'Connor 2023-04-04 13:07:32 -07:00
parent f085638cf7
commit 9c7014bf32
1 changed files with 2 additions and 1 deletions

View File

@ -1,4 +1,5 @@
cols=$(stty -a | grep -Po '(?<=columns )\d+' | tr -d "\n")
#cols=$(stty -a | grep -Po '(?<=columns )\d+' | tr -d "\n")
cols=$COLUMNS
function ticker_message () {
if [[ $_zeeshdev_ticker_newlines == 0 ]]; then