Add bottom alias.
This commit is contained in:
parent
31453c446c
commit
d8e63be33e
|
@ -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 () {
|
||||||
|
|
Loading…
Reference in New Issue