dot/zshrc: Write numbers in odd bases using C notation.
authorMark Wooding <mdw@distorted.org.uk>
Tue, 21 Apr 2020 11:53:20 +0000 (12:53 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Tue, 21 Apr 2020 11:53:20 +0000 (12:53 +0100)
Otherwise other programs which see this output get confused.  It doesn't
help that `zsh' sets the output base from the initial input base.

dot/zshrc

index ca76ee4..c6cfa99 100644 (file)
--- a/dot/zshrc
+++ b/dot/zshrc
@@ -149,6 +149,7 @@ unsetopt auto_menu
 setopt bang_hist
 unsetopt bash_auto_list
 unsetopt beep
+setopt c_bases octal_zeroes
 setopt extendedglob
 unsetopt flow_control
 unsetopt global_export