File tree Expand file tree Collapse file tree 1 file changed +18
-1
lines changed
Expand file tree Collapse file tree 1 file changed +18
-1
lines changed Original file line number Diff line number Diff line change @@ -57,14 +57,31 @@ zstyle ':completion:*' menu select
5757# colorize cmp menu
5858zstyle ' :completion:*' list-colors ${(s.: .)LS_COLORS}
5959
60- # zsh options
60+ # ############# zsh options
61+ # changing directories
6162setopt autocd # change to directory by typing name
63+
64+ # completion
65+ setopt always_to_end # move cursor to the end of a completed word
66+ setopt auto_list # automatically list choices on ambiguous completion
67+ setopt auto_menu # show completion menu on a successive tab press
68+ setopt complete_in_word # complete from both ends of a word
69+ setopt menu_complete # autoselect the first completion entry
70+
71+ # history
6272setopt append_history # append history instead of overwriting
6373setopt share_history # share history between sessions
74+ setopt inc_append_history # write to the history file immediately, not when the shell exits
6475setopt hist_ignore_dups # ignore duplicate entries in history
76+ setopt hist_no_store # don't store history commands
77+ setopt hist_verify # don't execute immediately upon history expansion
6578setopt extended_history # save timestamp of each command in history
6679setopt no_beep # disable beep on errors
80+
81+ # input/output
6782setopt interactive_comments # allow comments in interactive shell
83+ setopt rc_quotes # allow 'Henry''s Garage' instead of 'Henry'\''s Garage'
84+ # ##############
6885
6986# make history longer
7087export HISTSIZE=1000000
You can’t perform that action at this time.
0 commit comments