A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://github.com/z-shell/zsh-diff-so-fancy below:

z-shell/zsh-diff-so-fancy: ⚙️ The diff-so-fancy for Zsh

❮ Zi ❯ Plugin - zsh-diff-so-fancy

A simple plugin integrating so-fancy/diff-so-fancy into Zsh. It provides:

  1. Install diff-so-fancy or load it via your preferred method.
  2. Load the plugin in your .zshrc or plugin manager:
    # Example using Zi
    zi ice as'program' pick'bin/*'
    zi light z-shell/zsh-diff-so-fancy
  3. Use the commands:
diff-so-fancy --colors        # Show recommended color config
diff-so-fancy --set-defaults  # Configure Git to use diff-so-fancy with suggested colors
diff-so-fancy --patch         # Patch mode, interoperable with `git add --patch`
# Use diff-so-fancy for all diffs
git config --global core.pager "diff-so-fancy | less --tabs=4 -RFX"

# Use diff-so-fancy for `git add --patch`
git config --global interactive.diffFilter "diff-so-fancy --patch"
zi ice as'null' sbin'bin/*'
zi light z-shell/zsh-diff-so-fancy

Or:

zi ice as'program' pick'bin/*'
zi light z-shell/zsh-diff-so-fancy

This places diff-so-fancy, fancy-diff, and git-dsf in $PATH, adding the dsf subcommand to Git automatically.


RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4