mirror of
https://github.com/wfxr/forgit.git
synced 2026-09-10 07:16:23 -04:00
README: Add more explicit instructions for brew, fix headers for AUR, Fig (#339)
Added more explicit instructions, now that I know how our brew installation process works. While I was there, I moved AUR and Fig to be subheaders of Installation
This commit is contained in:
parent
c663dc1764
commit
ab7400ddb3
29
README.md
29
README.md
|
|
@ -53,14 +53,33 @@ zinit load wfxr/forgit
|
|||
# for oh-my-zsh
|
||||
git clone https://github.com/wfxr/forgit.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/forgit
|
||||
|
||||
# for brew
|
||||
brew install forgit
|
||||
|
||||
# manually
|
||||
# Clone the repository and source it in your shell's rc file or put bin/git-forgit into your $PATH
|
||||
```
|
||||
|
||||
# Fig
|
||||
## Homebrew
|
||||
|
||||
To install using brew
|
||||
```sh
|
||||
brew install forgit
|
||||
```
|
||||
|
||||
Then add the following to your shell's config file:
|
||||
```sh
|
||||
# Fish:
|
||||
# ~/.config/fish/config.fish:
|
||||
[ -f $HOMEBREW_PREFIX/share/forgit/forgit.plugin.fish ]; and source $HOMEBREW_PREFIX/share/forgit/forgit.plugin.fish
|
||||
|
||||
# Zsh:
|
||||
# ~/.zshrc:
|
||||
[ -f $HOMEBREW_PREFIX/share/forgit/forgit.plugin.zsh ] && source $HOMEBREW_PREFIX/share/forgit/forgit.plugin.zsh
|
||||
|
||||
# Bash:
|
||||
# ~/.bashrc:
|
||||
[ -f $HOMEBREW_PREFIX/share/forgit/forgit.plugin.sh ] && source $HOMEBREW_PREFIX/share/forgit/forgit.plugin.sh
|
||||
```
|
||||
|
||||
## Fig
|
||||
|
||||
[Fig](https://fig.io) adds apps, shortcuts, and autocomplete to your existing terminal.
|
||||
|
||||
|
|
@ -68,7 +87,7 @@ Install `forgit` in just one click.
|
|||
|
||||
[](https://fig.io/plugins/other/forgit)
|
||||
|
||||
# Arch User Repository
|
||||
## Arch User Repository
|
||||
|
||||
[AUR](https://wiki.archlinux.org/title/Arch_User_Repository) packages, maintained by the developers of forgit, are available. Install the [forgit](https://aur.archlinux.org/packages/forgit) package for the latest release or [forgit-git](https://aur.archlinux.org/packages/forgit-git) to stay up to date with the latest commits from the master branch of this repository.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue