comparison zsh/setopt.zsh @ 151:87498dbd779a

Move away from oh-my-zsh
author zegervdv <zegervdv@me.com>
date Mon, 20 Oct 2014 21:49:21 +0200
parents
children 7bb0fcd6f96a
comparison
equal deleted inserted replaced
150:de8d4246c8fe 151:87498dbd779a
1 # ===== Basics
2
3 # If you type foo, and it isn't a command, and it is a directory in your cdpath, go there
4 setopt AUTO_CD
5 setopt cdablevarS
6 setopt pushd_ignore_dups
7
8 # Allow comments even in interactive shells (especially for Muness)
9 setopt INTERACTIVE_COMMENTS
10
11 # ===== History
12
13 # Allow multiple terminal sessions to all append to one zsh command history
14 setopt APPEND_HISTORY
15
16 # Add comamnds as they are typed, don't wait until shell exit
17 setopt INC_APPEND_HISTORY
18
19 # Do not write events to history that are duplicates of previous events
20 setopt HIST_IGNORE_DUPS
21
22 # When searching history don't display results already cycled through twice
23 setopt HIST_FIND_NO_DUPS
24
25 # Remove extra blanks from each command line being added to history
26 setopt HIST_REDUCE_BLANKS
27
28 # Include more information about when the command was executed, etc
29 setopt EXTENDED_HISTORY
30
31 setopt hist_expire_dups_first
32
33 setopt hist_verify # Don't execute
34 setopt share_history
35
36 # ===== Completion
37
38 # Allow completion from within a word/phrase
39 setopt COMPLETE_IN_WORD
40
41 # When completing from the middle of a word, move the cursor to the end of the word
42 setopt ALWAYS_TO_END
43
44 # ===== Prompt
45
46 # Enable parameter expansion, command substitution, and arithmetic expansion in the prompt
47 setopt PROMPT_SUBST
48 setopt transient_rprompt
49
50 setopt multios
51
52
53 unsetopt MENU_COMPLETE
54 setopt AUTO_MENU
55
56 setopt nobeep
57 setopt notify
58 REPORTTIME=5
59
60 setopt correct_all