]> git.madduck.net Git - etc/zsh.git/blob - .zsh/zshrc/01-basic_options

madduck's git repository

Every one of the projects in this repository is available at the canonical URL git://git.madduck.net/madduck/pub/<projectpath> — see each project's metadata for the exact URL.

All patches and comments are welcome. Please squash your changes to logical commits before using git-format-patch and git-send-email to patches@git.madduck.net. If you'd read over the Git project's submission guidelines and adhered to them, I'd be especially grateful.

SSH access, as well as push access can be individually arranged.

If you use my repositories frequently, consider adding the following snippet to ~/.gitconfig and using the third clone URL listed for each project:

[url "git://git.madduck.net/madduck/"]
  insteadOf = madduck:

Overhaul of the entire config. Yay for big diffs.
[etc/zsh.git] / .zsh / zshrc / 01-basic_options
1 #
2 # Set basic options
3 #
4 # Copyright © 1994–2017 martin f. krafft <madduck@madduck.net>
5 # Released under the terms of the Artistic Licence 2.0
6 #
7 # Source repository: http://git.madduck.net/v/etc/zsh.git
8 #
9
10 # Warn on accidental creation of global variables
11 setopt warn_create_global
12
13 # Extended globbing. Why would you not want this?
14 setopt extended_glob
15
16 # If a pattern for filename generation has no matches, leave it unchanged in
17 # the argument list.
18 setopt no_nomatch
19
20 # Prevent redirection from trunacting existing files.
21 setopt no_clobber
22
23 # Try to correct the spelling of commands
24 setopt correct
25
26 # use 0xXX and 0XX output instead of 16#XX/8#XX
27 setopt c_bases
28
29 # disable backslashed escape sequences unless -e is given to echo·
30 setopt bsd_echo
31
32 # handy script to query options
33 autoload -U allopt
34
35 # vim:ft=zsh