]> arthur.barton.de Git - ax-zsh.git/blob - README.md
Rework FPATH and completion system
[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    * history
22    * ls
23    * prompt
24    * ssh
25    * std_aliases
26    * std_env
27 * `axzsh_plugins`: Optional array of addiutional (non-core and non-default)
28   plugins to load.
29
30 Example for a `$HOME/.zshenv` file:
31
32 ```
33 # Add additinal custom plugin search path
34 export AXZSH_PLUGIN_D="/opt/ax-zsh-plugins"
35
36 # Disable all default plugins
37 axzsh_default_plugins=()
38
39 # Add additional plugins
40 axzsh_plugins=(
41         editor_select
42         homebrew
43 )
44 ```
45
46 Note: it should *not* be necessary to disable the default plugins! The above
47 is an example only!
48
49
50 Environment Variables
51 ---------------------
52
53 Expected to be already set:
54
55 * `HOME`
56 * `LOGNAME`
57
58 Validated and/or set up by core plugins:
59
60 * `AXZSH`
61 * `HOST`
62 * `HOSTNAME` (same as HOST, deprecated)
63 * `LOCAL_HOME`
64 * `PS1`
65 * `SHORT_HOST`
66 * `TERM`
67 * `XDG_CACHE_HOME`
68 * `ZSH_CACHE_DIR`