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