diff --git a/dotfiles/shell/aliases b/dotfiles/shell/aliases index 3edfda2..9c4c622 100644 --- a/dotfiles/shell/aliases +++ b/dotfiles/shell/aliases @@ -94,3 +94,8 @@ bye() { cd || exit 1 git-summary -d } + +calc() { + # Use python to make simple calculations, like 'calc 24/8' + python -c "print($*)" +}