*** compinstall: main menu ***
Note that hitting `q' in menus does not abort the set of changes from
Please pick one of the following options:
(1) Configure settings for history, i.e. command lines remembered
and saved by the shell. (Recommended.)
(2) Configure the new completion system. (Recommended.)
(3) Configure how keys behave when editing command lines. (Recommended.)
(4) Pick some of the more common shell options. These are simple "on"
or "off" switches controlling the shell's features.
(0) Exit, leaving the existing ~/.zshrc alone.
(a) Abort all settings and start from scratch. Note this will overwrite
any settings from zsh-newuser-install already in the startup file.
It will not alter any of your other settings, however.
(q) Quit and do nothing else.
--- Type one of the keys in parentheses ---
配置历史记录
1
2
3
4
5
6
7
8
9
10
11
12
13
14
History configuration
=====================
# (1) Number of lines of history kept within the shell.
HISTSIZE=1000 (not yet saved)
# (2) File where history is saved.
HISTFILE=~/.histfile (not yet saved)
# (3) Number of lines of history to save to $HISTFILE.
SAVEHIST=1000 (not yet saved)
# (0) Remember edits and return to main menu (does not save file yet)
# (q) Abandon edits and return to main menu
--- Type one of the keys in parentheses ---
The new completion system (compsys) allows you to complete
commands, arguments and special shell syntax such as variables. It provides
completions for a wide range of commonly used commands in most cases simply
by typing the TAB key. Documentation is in the zshcompsys manual page.
If it is not turned on, only a few simple completions such as filenames
are available but the time to start the shell is slightly shorter.
You can:
(1) Turn on completion with the default options.
(2) Run the configuration tool (compinstall). You can also run
this from the command line with the following commands:
autoload -Uz compinstall
compinstall
if you don't want to configure completion now.
(0) Don't turn on completion.
--- Type one of the keys in parentheses ---
Default editing configuration
=============================
The keys in the shell's line editor can be made to behave either
like Emacs or like Vi, two common Unix editors. If you have no
experience of either, Emacs is recommended. If you don't pick one,
the shell will try to guess based on the EDITOR environment variable.
Usually it's better to pick one explicitly.
# (1) Change default editing configuration
bindkey -e (not yet saved)
# (0) or (q) Return to main menu (no changes made yet)
--- Type one of the keys in parentheses ---
shell 的行编辑器中的键可以像 Emacs 或 Vi 一样运行。如果你对任何一个都没有经验,那么推荐使用 Emacs。如果你没有选择一个,shell 将尝试根据 EDITOR 环境变量来猜测。通常最好明确地选择一个。
Common shell options
====================
The following are some of the shell options that are most often used.
The descriptions are very brief; if you would like more information,
read the zshoptions manual page (type "man zshoptions").
# (1) Change directory given just path.
unsetopt autocd (not yet saved)
# (2) Use additional pattern matching features.
setopt extendedglob (not yet saved)
# (3) Unmatched patterns cause an error.
setopt nomatch (not yet saved)
# (4) Beep on errors.
unsetopt beep (not yet saved)
# (5) Immediately report changes in background job status.
setopt notify (not yet saved)
# (0) or (q) Return to main menu (no changes made yet)
--- Type one of the keys in parentheses ---
# Lines configured by zsh-newuser-installHISTFILE=~/.zsh_history
HISTSIZE=10000SAVEHIST=10000setopt extendedglob nomatch notify
unsetopt autocd beep
bindkey -e
# End of lines configured by zsh-newuser-install# The following lines were added by compinstallzstyle :compinstall filename '/home/bingo/.zshrc'autoload -Uz compinit
compinit
# End of lines added by compinstall