From dca7f07af96e19d6603b46a7ead876cf96da32c7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Yaroslav=20de=20la=20Pe=C3=B1a=20Smirnov?= Date: Thu, 9 Sep 2021 00:53:46 +0300 Subject: calc (python) shortcut: import math from the start --- dotfiles/.config/zsh/shortcuts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'dotfiles/.config/zsh') diff --git a/dotfiles/.config/zsh/shortcuts b/dotfiles/.config/zsh/shortcuts index 05de470..9ec350c 100644 --- a/dotfiles/.config/zsh/shortcuts +++ b/dotfiles/.config/zsh/shortcuts @@ -24,7 +24,7 @@ grm() { printf "git@git.yaroslavps.com:%s" "$1" } alias music="ncmpcpp" alias news="newsboat && killall -42 waybar" alias audio="ncpamixer" -alias calc="python -q" +alias calc="python -q -i -c 'import math'" alias spw="setsid $TERMINAL >/dev/null 2>&1 &" alias testinet="ping -c2 example.com" -- cgit v1.2.3