X-Git-Url: https://arthur.barton.de/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=README.md;h=d79f82f4dd53304cff41e5c5e82dfac108978f6d;hb=23e52508a920ae18677a9cebc9522dedf2209b4c;hp=d15f077566979f3c97d5a56c50bda9a7f1c91957;hpb=f011585ebe71420618b26764466d18c398e6f8fc;p=ax-zsh.git diff --git a/README.md b/README.md index d15f077..d79f82f 100644 --- a/README.md +++ b/README.md @@ -1,8 +1,8 @@ AX-ZSH: Alex' Modular ZSH Configuration ======================================= -AX-ZSH is a modular configuration system for the Z shell. If provides sane -defaults and is extendable by plugins. +AX-ZSH is a modular configuration system for the Z shell (ZSH). +It provides sane defaults and is extendable by plugins. Installation @@ -13,31 +13,43 @@ Afterwards use the `install.sh` script inside of the source directory to set up the `~/.axzsh` directory. When using Git it is best to directly clone the AX-ZSH repository into the -`~/.axzsh` directory and call `install.sh` from this location: +`~/.axzsh` directory and call `install.sh` from this location. - $ git clone git://arthur.barton.de/ax-zsh.git ~/.axzsh - $ ~/.axzsh/install.sh +Clone repository from _GitHub_ (https://github.com/alexbarton/ax-zsh): -You can use `cd ~/.axzsh && git pull --ff-only` to upgrade this installation. + $ git clone https://github.com/alexbarton/ax-zsh.git ~/.axzsh + +Then run the installer script: + + $ ~/.axzsh/install.sh The `install.sh` script creates symbolic links for `~/.zprofile`, `~/.zshrc`, `~/.zlogin`, and `~/.zlogout` (don't worry, already existing files are backed up). -Then you have to restart your ZSH session. +Now close and restart all your running ZSH session to activate AX-ZSH. +To update AX-ZSH run `axzshctl upgrade`. -Configuration -------------- + +AX-ZSH & Local ZSH Configuration +-------------------------------- Plugins are loaded when they are linked into the `$AXZSH/active_plugins/` -directory. +directory; see the _Customization_ section below for how to activate them. -AX-ZSH doesn't use `~/.zshenv` in any way. So you can use this file for your -own purposes (for example, to set up some environment variables that AX-ZSH -relays on). In addition, AX-ZSH reads the optional files `~/.zprofile.local`, -`~/.zshrc.local`, `~/.zlogin.local`, and `~/.zlogout.local` after its own -core initialization files when present. +Don't modify `~/.zprofile`, `~/.zshrc`, `~/.zlogin`, or `~/.zlogout`! These +are links to "AX-ZSH"-private files that can become overwritten when updating. + +You can use the following files for local ZSH configuration: + +1. AX-ZSH doesn't use `~/.zshenv` in any way. So you can use this file for your + own purposes (for example, to set up some environment variables that AX-ZSH + relies on). + +2. AX-ZSH reads the optional files `~/.zprofile.local`, `~/.zshrc.local`, + `~/.zlogin.local`, and `~/.zlogout.local` after its own core initialization + files when present. Customization @@ -48,6 +60,11 @@ initializes an alias which points to the actual location in `~/.axzsh/bin/`. See `axzshctl --help` for details. +You can link custom plugins stored in arbitrary directories using `axzshctl` +by specifying the complete path name. Or you can place additional plugins into +the `~/.axzsh/custom_plugins` folder which is searched by the `axzshctl` tool +by default. + In addition you can set the `AXZSH_PLUGIN_D` variable (and `ZSH_CUSTOM` like "OhMyZsh") to specify additional plugin search directories. @@ -69,5 +86,6 @@ Validated and/or set up by core plugins: * `PS1` * `SHORT_HOST` * `TERM` +* `XDG_RUNTIME_DIR` * `XDG_CACHE_HOME` * `ZSH_CACHE_DIR`