File tree 10 files changed +79
-25
lines changed
10 files changed +79
-25
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,19 @@ the [zsh-completions][1] project.
6
6
7
7
This module must be loaded ** after** the * utility* module.
8
8
9
+ Options
10
+ -------
11
+
12
+ - ` COMPLETE_IN_WORD ` complete from both ends of a word.
13
+ - ` ALWAYS_TO_END ` move cursor to the end of a completed word.
14
+ - ` PATH_DIRS ` perform path search even on command names with slashes.
15
+ - ` AUTO_MENU ` show completion menu on a successive tab press.
16
+ - ` AUTO_LIST ` automatically list choices on ambiguous completion.
17
+ - ` AUTO_PARAM_SLASH ` if completed parameter is a directory, add a trailing slash.
18
+ - ` EXTENDED_GLOB ` needed for file modification glob modifiers with compinit.
19
+ - ` MENU_COMPLETE ` do not autoselect the first completion entry.
20
+ - ` FLOW_CONTROL ` disable start/stop characters in shell editor.
21
+
9
22
Settings
10
23
--------
11
24
Original file line number Diff line number Diff line change @@ -99,7 +99,7 @@ zstyle ':completion:*:history-words' remove-all-dups yes
99
99
zstyle ' :completion:*:history-words' list false
100
100
zstyle ' :completion:*:history-words' menu yes
101
101
102
- # Environmental Variables
102
+ # Environment Variables
103
103
zstyle ' :completion::*:(-command-|export):*' fake-parameters ${${${_comps[(I)-value-*]#* ,} %% ,* } :# -* -}
104
104
105
105
# Populate hostname completion. But allow ignoring custom entries from static
Original file line number Diff line number Diff line change 1
1
Editor
2
2
======
3
3
4
- Sets key bindings.
4
+ Sets editor specific key bindings options and variables.
5
+
6
+ Options
7
+ -------
8
+
9
+ - ` BEEP ` beep on error in line editor.
10
+
11
+ Variables
12
+ ---------
13
+
14
+ - ` WORDCHARS ` treat a given set of characters as part of a word.
5
15
6
16
Settings
7
17
--------
Original file line number Diff line number Diff line change @@ -5,8 +5,38 @@ Sets general shell options and defines environment variables.
5
5
6
6
This module must be loaded first.
7
7
8
- Environment Variables
9
- ---------------------
8
+ Options
9
+ -------
10
+
11
+ ### General
12
+
13
+ - ` COMBINING_CHARS ` combine zero-length punctuation characters (accents) with
14
+ the base character.
15
+ - ` INTERACTIVE_COMMENTS ` enable comments in interactive shell.
16
+ - ` RC_QUOTES ` allow 'Henry''s Garage' instead of 'Henry'\' 's Garage'.
17
+ - ` MAIL_WARNING ` don't print a warning message if a mail file has been accessed.
18
+
19
+ ### Jobs
20
+
21
+ - ` LONG_LIST_JOBS ` list jobs in the long format by default.
22
+ - ` AUTO_RESUME ` attempt to resume existing job before creating a new process.
23
+ - ` NOTIFY ` report status of background jobs immediately.
24
+ - ` BG_NICE ` don't run all background jobs at a lower priority.
25
+ - ` HUP ` don't kill jobs on shell exit.
26
+ - ` CHECK_JOBS ` don't report on jobs when shell exit.
27
+
28
+ Variables
29
+ ---------
30
+
31
+ ### Termcap
32
+
33
+ - ` LESS_TERMCAP_mb ` begins blinking.
34
+ - ` LESS_TERMCAP_md ` begins bold.
35
+ - ` LESS_TERMCAP_me ` ends mode.
36
+ - ` LESS_TERMCAP_se ` ends standout-mode.
37
+ - ` LESS_TERMCAP_so ` begins standout-mode.
38
+ - ` LESS_TERMCAP_ue ` ends underline.
39
+ - ` LESS_TERMCAP_us ` begins underline.
10
40
11
41
Contributors
12
42
------------
Original file line number Diff line number Diff line change 3
3
4
4
Sets [ history] [ 1 ] options and defines history aliases.
5
5
6
- Variables
7
- ---------
8
-
9
- - ` HISTFILE ` stores the path to the history file.
10
- - ` HISTSIZE ` stores the maximum number of events to save in the internal history.
11
- - ` SAVEHIST ` stores the maximum number of events to save in the history file.
12
-
13
6
Options
14
7
-------
15
8
@@ -26,6 +19,13 @@ Options
26
19
- ` HIST_VERIFY ` does not execute immediately upon history expansion.
27
20
- ` HIST_BEEP ` beeps when accessing non-existent history.
28
21
22
+ Variables
23
+ ---------
24
+
25
+ - ` HISTFILE ` stores the path to the history file.
26
+ - ` HISTSIZE ` stores the maximum number of events to save in the internal history.
27
+ - ` SAVEHIST ` stores the maximum number of events to save in the history file.
28
+
29
29
Aliases
30
30
-------
31
31
Original file line number Diff line number Diff line change 6
6
# Sorin Ionescu <sorin.ionescu@gmail.com>
7
7
#
8
8
9
- #
10
- # Variables
11
- #
12
-
13
- HISTFILE=" ${ZDOTDIR:- $HOME } /.zhistory" # The path to the history file.
14
- HISTSIZE=10000 # The maximum number of events to save in the internal history.
15
- SAVEHIST=10000 # The maximum number of events to save in the history file.
16
-
17
9
#
18
10
# Options
19
11
#
@@ -31,6 +23,14 @@ setopt HIST_SAVE_NO_DUPS # Do not write a duplicate event to the history
31
23
setopt HIST_VERIFY # Do not execute immediately upon history expansion.
32
24
setopt HIST_BEEP # Beep when accessing non-existent history.
33
25
26
+ #
27
+ # Variables
28
+ #
29
+
30
+ HISTFILE=" ${ZDOTDIR:- $HOME } /.zhistory" # The path to the history file.
31
+ HISTSIZE=10000 # The maximum number of events to save in the internal history.
32
+ SAVEHIST=10000 # The maximum number of events to save in the history file.
33
+
34
34
#
35
35
# Aliases
36
36
#
Original file line number Diff line number Diff line change 1
1
Homebrew
2
2
========
3
3
4
- Defines Homebrew specific shell environment variables and aliases.
4
+ Defines Homebrew specific environment variables and aliases.
5
5
6
- Environment Variables
7
- ---------------------
6
+ Variables
7
+ ---------
8
8
9
9
Execute the following to list the environment variables loaded in the shell:
10
10
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ if [[ "$OSTYPE" != (darwin|linux)* ]]; then
11
11
fi
12
12
13
13
#
14
- # Environmental Variables
14
+ # Variables
15
15
#
16
16
17
17
# Load standard Homebrew shellenv into the shell session.
Original file line number Diff line number Diff line change 14
14
# Aliases
15
15
#
16
16
17
- _rsync_cmd=' rsync --verbose --progress --human-readable --compress --archive --hard-links --one-file-system'
17
+ _rsync_cmd=' rsync --verbose --progress --human-readable --compress --archive \
18
+ --hard-links --one-file-system'
18
19
19
20
if grep -q ' xattrs' <( rsync --help 2>&1 ) ; then
20
21
_rsync_cmd=" ${_rsync_cmd} --acls --xattrs"
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ in */etc* by default.
10
10
11
11
User-local configuration files have the same name as their global counterparts
12
12
but are prefixed with a dot (hidden). Zsh looks for these files in the path
13
- stored in the ` $ZDOTDIR ` environmental variable. However, if said variable is
13
+ stored in the ` $ZDOTDIR ` environment variable. However, if said variable is
14
14
not defined, Zsh will use the user's home directory.
15
15
16
16
File Descriptions
You can’t perform that action at this time.
0 commit comments