Added calculator. Fixed whitespace.

This commit is contained in:
lanxu 2019-09-01 14:40:03 +03:00
parent 53e89ae8b4
commit 304cee8e85

6
.zshrc
View File

@ -61,7 +61,7 @@ source $HOME/.config/base16-shell/scripts/base16-default-dark.sh
# Emscripten # Emscripten
#source /home/lanxu/Koodit/github/emsdk/emsdk_env.sh #source /home/lanxu/Koodit/github/emsdk/emsdk_env.sh
# TERM=xterm-256color #TERM=xterm-256color
#bindkey "${terminfo[khome]}" beginning-of-line #bindkey "${terminfo[khome]}" beginning-of-line
#bindkey "${terminfo[kend]}" end-of-line #bindkey "${terminfo[kend]}" end-of-line
export TERMCMD=termite export TERMCMD=termite
@ -91,6 +91,10 @@ function aurupdate {
sudo pacman -Syu sudo pacman -Syu
} }
function c {
echo "scale=2; $@" | bc
}
function aurls { function aurls {
sudo pacman -Sl custom sudo pacman -Sl custom
} }