Updated README.md

This commit is contained in:
Sebastian Gniazdowski 2018-03-01 12:30:55 +01:00
parent 8ba67c35b8
commit a284f83338

View file

@ -27,6 +27,10 @@ still work normally:
(because this plugin adds `diff-so-fancy` to `$PATH`).
Think about Puppet or Chef, i.e. about declarative approach to system configuration.
In this case `.zshrc` is like a declarative setup guarding you will have `diff-so-fancy`
on your accounts.
# A Few Details
[so-fancy/diff-so-fancy](https://github.com/so-fancy/diff-so-fancy) is cloned from
@ -34,3 +38,16 @@ Github as submodule. The plugin has `bin/git-dsf` script which adds subcommand `
to git. That's basically everything needed: convenient way of installing (single Zsh
plugin manager invocation), updating (Zsh plugin managers can easily update) and
integrating with `git`.
# Other plugin managers
```zsh
# Zplug
zplug "zdharma/zsh-diff-so-fancy", as:command, use:bin/git-dsf
# Zgen
zgen zdharma/zsh-diff-so-fancy
```
Without `as"program"`-like functionality the `.plugin.zsh` file picks up setup
and simulates adding a command to system, so `Zgen` and other can work.