dotfiles

Dash Eclipse's dotfiles
git clone git://ezup.dev/dotfiles.git
Log | Files | Refs | README | LICENSE

commit 201a12507f8ffa56fc1f1edc98b25686896c61a1
parent 2e0193ebeb5b7cb4d79e086e6f46481895a1ce45
Author: Dash Eclipse <dashezup@disroot.org>
Date:   Thu, 12 Aug 2021 04:38:29 +0000

feat: .zshrc.local: add calculator()

Diffstat:
M.zshrc.local | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/.zshrc.local b/.zshrc.local @@ -223,3 +223,5 @@ day_of_week() { week=(Sunday Monday Tuesday Wednesday Thursday Friday Saturday) echo "${rtc_date} ${week[@]:${dow}:1}" } + +calculator() { while true; do bc <<<"scale=3; $(read -e)"; done }