zsh:options: Set C_PRECEDENCES

This commit is contained in:
2025-06-05 11:45:19 +02:00
parent 5212f2a217
commit e451fbdd22

View File

@@ -233,6 +233,11 @@
# is not by default), octal numbers will be treated similarly and hence
# appear as `077' instead of `8#77'. This option has no effect on the
# choice of the output base, nor on the output of bases other than
# hexadecimal and octal. Note that these formats will be understood on
# input irrespective of the setting of C_BASES.
setopt C_BASES
# This alters the precedence of arithmetic operators to be more like C
# and other programming languages; the section ARITHMETIC EVALUATION
# in zshmisc(1) has an explicit list.
setopt C_PRECEDENCES