1
Fork 0

Add bottom alias.

This commit is contained in:
Bauke 2023-05-16 20:16:51 +02:00
parent 31453c446c
commit d8e63be33e
Signed by: Bauke
GPG Key ID: C1C0F29952BCF558
1 changed files with 10 additions and 0 deletions

View File

@ -1,3 +1,13 @@
# Alias for bottom with shorthand for configuration.
# bottom [config (default: none)]
bottom () {
if [[ -z $1 ]]; then
btm
else
btm -C "$HOME/.config/bottom/$1.toml"
fi
}
# Returns the previous month as "Month Year" (ie. "April 2023"). # Returns the previous month as "Month Year" (ie. "April 2023").
# date-last-month-year # date-last-month-year
date-last-month-year () { date-last-month-year () {