diff options
Diffstat (limited to '')
-rw-r--r-- | .zsh/zshfunctions | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/.zsh/zshfunctions b/.zsh/zshfunctions index 40a72d6..8f8b0c8 100644 --- a/.zsh/zshfunctions +++ b/.zsh/zshfunctions @@ -10,12 +10,11 @@ if [[ -n $_IS_GENTOO ]]; then fi # Calculator -function = -{ - echo "$@" | bc -l +autoload -U zcalc +function = { + zcalc -e "$*" } -aliases[=]='noglob =' -alias calc="=" +aliases[=]='LC_NUMERIC=C noglob =' # Quick find f() |