aboutsummaryrefslogtreecommitdiff
path: root/dotfiles/.config/zsh
diff options
context:
space:
mode:
authorYaroslav de la Peña Smirnov <yps@yaroslavps.com>2021-09-09 00:53:46 +0300
committerYaroslav de la Peña Smirnov <yps@yaroslavps.com>2021-09-09 00:53:46 +0300
commitdca7f07af96e19d6603b46a7ead876cf96da32c7 (patch)
tree0e59b469b899855271a7169e71a2e07a25f3c049 /dotfiles/.config/zsh
parentbddebc4144b1262d40d6fd26d5e98aeb51b0202f (diff)
downloadswayrice-dca7f07af96e19d6603b46a7ead876cf96da32c7.tar.gz
swayrice-dca7f07af96e19d6603b46a7ead876cf96da32c7.zip
calc (python) shortcut: import math from the start
Diffstat (limited to 'dotfiles/.config/zsh')
-rw-r--r--dotfiles/.config/zsh/shortcuts2
1 files changed, 1 insertions, 1 deletions
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"