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

This commit is contained in:
nicole committed 2023-04-04 13:07:32 -07:00
1 parent f085638cf7
commit 9c7014bf32
1 file changed
+2 -1
+2 -1
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