diff options
| author | Peter Stephenson <pws@zsh.org> | 2014-01-23 10:32:59 +0000 |
|---|---|---|
| committer | Peter Stephenson <pws@zsh.org> | 2014-01-23 10:32:59 +0000 |
| commit | 22b8fd6da931657ec930ba2625179c704de3e830 (patch) | |
| tree | 2266493aa799af7431af9308fd6cb7e088fb668e /Functions | |
| parent | unposted: reformulate 32285 to lift the fheap->sp test out of the loop, impro... (diff) | |
| download | zsh-22b8fd6da931657ec930ba2625179c704de3e830.tar zsh-22b8fd6da931657ec930ba2625179c704de3e830.tar.gz zsh-22b8fd6da931657ec930ba2625179c704de3e830.tar.bz2 zsh-22b8fd6da931657ec930ba2625179c704de3e830.tar.lz zsh-22b8fd6da931657ec930ba2625179c704de3e830.tar.xz zsh-22b8fd6da931657ec930ba2625179c704de3e830.tar.zst zsh-22b8fd6da931657ec930ba2625179c704de3e830.zip | |
32299: add use of underscores on arithmetic output for spacing
Diffstat (limited to 'Functions')
| -rw-r--r-- | Functions/Misc/zcalc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Functions/Misc/zcalc b/Functions/Misc/zcalc index 1f3392d92..6a56d4782 100644 --- a/Functions/Misc/zcalc +++ b/Functions/Misc/zcalc @@ -196,7 +196,7 @@ while (( expression_mode )) || # special cases # Set default base if `[#16]' or `[##16]' etc. on its own. # Unset it if `[#]' or `[##]'. - if [[ $line = (#b)[[:blank:]]#('[#'(\#|)(<->|)']')[[:blank:]]#(*) ]]; then + if [[ $line = (#b)[[:blank:]]#('[#'(\#|)((<->|)(|_|_<->))']')[[:blank:]]#(*) ]]; then if [[ -z $match[4] ]]; then if [[ -z $match[3] ]]; then defbase= |
