]> src.twobees.de Git - dotfiles.git/blob - stow/oh-my-zsh/.oh-my-zsh/plugins/nanoc/README.md
initial
[dotfiles.git] / stow / oh-my-zsh / .oh-my-zsh / plugins / nanoc / README.md
1 # Nanoc plugin
2
3 This plugin adds some aliases and autocompletion for common [Nanoc](https://nanoc.ws) commands.
4
5 To use it, add `nanoc` to the plugins array in your zshrc file:
6
7 ```zsh
8 plugins=(... nanoc)
9 ```
10
11 ## Aliases
12
13 | Alias | Command               | Description                                                                       |
14 |-------|-----------------------|-----------------------------------------------------------------------------------|
15 | n     | `nanoc`               | Main Nanoc command                                                                |
16 | nco   | `nanoc compile`       | Compile all items of the current site                                             |
17 | ncs   | `nanoc create-site`   | Create a new site at the given path. The site will use the filesystem data source |
18 | nd    | `nanoc deploy`        | Deploy the compiled site to the destination (specified with `--target`)           |
19 | np    | `nanoc prune`         | Remove files not managed by Nanoc from the output directory                       |
20 | nv    | `nanoc view`          | Start the static web server (on port 3000 and all IP addresses, unless specified) |