mirror of
https://github.com/zdharma-continuum/zsh-diff-so-fancy.git
synced 2026-09-10 07:16:24 -04:00
Updated README.md
This commit is contained in:
parent
8ba67c35b8
commit
a284f83338
17
README.md
17
README.md
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue