chiark
/
gitweb
/
~mdw
/
profile
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
18cc755
)
dot/zshrc: Write numbers in odd bases using C notation.
author
Mark Wooding
<mdw@distorted.org.uk>
Tue, 21 Apr 2020 11:53:20 +0000
(12:53 +0100)
committer
Mark 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
patch
|
blob
|
blame
|
history
diff --git
a/dot/zshrc
b/dot/zshrc
index ca76ee43dd2f7a7e747815b9bc874205fcd45e85..c6cfa9960e1c96ef7761bd9bf4095a69ad9efc61 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 bang_hist
unsetopt bash_auto_list
unsetopt beep
+setopt c_bases octal_zeroes
setopt extendedglob
unsetopt flow_control
unsetopt global_export
setopt extendedglob
unsetopt flow_control
unsetopt global_export