X-Git-Url: https://git.madduck.net/etc/zsh.git/blobdiff_plain/e45b0db3d66ca9e041622db3d801d026fb4d3724..33230b65afa1076218abff057d0bbcc7486af0a8:/.zsh/zshrc/01-basic_options diff --git a/.zsh/zshrc/01-basic_options b/.zsh/zshrc/01-basic_options new file mode 100644 index 0000000..146d559 --- /dev/null +++ b/.zsh/zshrc/01-basic_options @@ -0,0 +1,35 @@ +# +# Set basic options +# +# Copyright © 1994–2017 martin f. krafft +# Released under the terms of the Artistic Licence 2.0 +# +# Source repository: http://git.madduck.net/v/etc/zsh.git +# + +# Warn on accidental creation of global variables +setopt warn_create_global + +# Extended globbing. Why would you not want this? +setopt extended_glob + +# If a pattern for filename generation has no matches, leave it unchanged in +# the argument list. +setopt no_nomatch + +# Prevent redirection from trunacting existing files. +setopt no_clobber + +# Try to correct the spelling of commands +setopt correct + +# use 0xXX and 0XX output instead of 16#XX/8#XX +setopt c_bases + +# disable backslashed escape sequences unless -e is given to echo· +setopt bsd_echo + +# handy script to query options +autoload -U allopt + +# vim:ft=zsh