]> arthur.barton.de Git - ax-zsh.git/blob - README.md
README: Update list of default plugins
[ax-zsh.git] / README.md
1 AX-ZSH: Alex' Modular ZSH Configuration
2 =======================================
3
4 AX-ZSH is a modular configuration system for the Z shell. If provides sane
5 defaults and is extendable by plugins.
6
7
8 Configuration
9 -------------
10
11 AX-ZSH can be configured using settings in a `$HOME/.zshenv` file.
12
13 The following configuration variables are supported:
14
15 * `AXZSH_PLUGIN_D`: Optional directory for additional plugins.
16 * `axzsh_default_plugins`: Array of default plugins, that will be loaded in
17   addition to the core plugins. You can reset this array to disable(!) loading
18   of these default plugins. Currently these plugins are loaded by default:
19    * byebye
20    * correction
21    * grep
22    * history
23    * less
24    * ls
25    * prompt
26    * ssh
27    * std_aliases
28    * std_env
29    * std_options
30 * `axzsh_plugins`: Optional array of addiutional (non-core and non-default)
31   plugins to load.
32
33 Example for a `$HOME/.zshenv` file:
34
35 ```
36 # Add additinal custom plugin search path
37 export AXZSH_PLUGIN_D="/opt/ax-zsh-plugins"
38
39 # Disable all default plugins
40 axzsh_default_plugins=()
41
42 # Add additional plugins
43 axzsh_plugins=(
44         editor_select
45         homebrew
46 )
47 ```
48
49 Note: it should *not* be necessary to disable the default plugins! The above
50 is an example only!
51
52
53 Environment Variables
54 ---------------------
55
56 Expected to be already set:
57
58 * `HOME`
59 * `LOGNAME`
60
61 Validated and/or set up by core plugins:
62
63 * `AXZSH`
64 * `HOST`
65 * `HOSTNAME` (same as HOST, deprecated)
66 * `LOCAL_HOME`
67 * `PS1`
68 * `SHORT_HOST`
69 * `TERM`
70 * `XDG_CACHE_HOME`
71 * `ZSH_CACHE_DIR`