diff options
Diffstat (limited to '')
-rw-r--r-- | .zsh/zshfunctions | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/.zsh/zshfunctions b/.zsh/zshfunctions index bb9bf0b..40a72d6 100644 --- a/.zsh/zshfunctions +++ b/.zsh/zshfunctions @@ -9,6 +9,14 @@ if [[ -n $_IS_GENTOO ]]; then } fi +# Calculator +function = +{ + echo "$@" | bc -l +} +aliases[=]='noglob =' +alias calc="=" + # Quick find f() { |