diff options
author | 2013-12-13 15:00:17 +0800 | |
---|---|---|
committer | 2013-12-26 18:32:36 +0100 | |
commit | 93f7c14ea6018d60b6e3c561e52e6aee74396cc1 (patch) | |
tree | 372424d6386125445adcd24248e834ac3ffc0ff3 /share | |
parent | a3a918e900ecd14bd1fb632f1ca558d3875a9b67 (diff) |
Math: disable bc multi-line output.
Diffstat (limited to 'share')
-rw-r--r-- | share/functions/math.fish | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/functions/math.fish b/share/functions/math.fish index bad349d9..b262fd3b 100644 --- a/share/functions/math.fish +++ b/share/functions/math.fish @@ -7,7 +7,7 @@ function math --description "Perform math calculations in bc" return 0 end - set -l out (echo $argv|bc) + set -l out (echo $argv|env BC_LINE_LENGTH=0 bc) echo $out switch $out case 0 |