Update 2024-02-16 07:50 OpenBSD/amd64-x13

This commit is contained in:
c0dev0id 2024-02-16 07:50:50 +01:00
parent 2891c1be6e
commit f5cfa080b1
1 changed files with 10 additions and 0 deletions

10
.kshrc
View File

@ -259,3 +259,13 @@ rem-edit() {
~sdk/.bin/make_calendar.sh \
|| true
}
########################################################################
# UPDATE SCRATCHPAD DIMENSIONS
########################################################################
update-scratchpad() {
echo "Updating Lines to: $LINES"
echo "Updating Rows to: $COLUMNS"
sed -i "s/^COLUMNS=.*/COLUMNS=$COLUMNS/g" ~/.bin/scratchpad
sed -i "s/^ROWS=.*/ROWS=$LINES/g" ~/.bin/scratchpad
}