From 304cee8e85c00b9c6a2d6c5b111c397c02535cda Mon Sep 17 00:00:00 2001 From: lanxu Date: Sun, 1 Sep 2019 14:40:03 +0300 Subject: [PATCH] Added calculator. Fixed whitespace. --- .zshrc | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.zshrc b/.zshrc index f328552..03d715c 100644 --- a/.zshrc +++ b/.zshrc @@ -61,7 +61,7 @@ source $HOME/.config/base16-shell/scripts/base16-default-dark.sh # Emscripten #source /home/lanxu/Koodit/github/emsdk/emsdk_env.sh -# TERM=xterm-256color +#TERM=xterm-256color #bindkey "${terminfo[khome]}" beginning-of-line #bindkey "${terminfo[kend]}" end-of-line export TERMCMD=termite @@ -91,6 +91,10 @@ function aurupdate { sudo pacman -Syu } +function c { + echo "scale=2; $@" | bc +} + function aurls { sudo pacman -Sl custom }