Update README.

Former-commit-id: 55cfdfa0de
This commit is contained in:
Wenxuan 2018-08-03 10:00:43 +08:00
parent f3a434c3e9
commit 846667e95d

View file

@ -25,13 +25,13 @@ antigen bundle wfxr/forgit
### Manually
### for zsh
**zsh**
Clone this repo and source `forgit.plugin.zsh` in ~/.zshrc.
Clone this repo and source `forgit.plugin.zsh` in `~/.zshrc`.
### for bash
**bash**
Clone this repo and source `forgit.plugin.sh` in ~/.bashrc.
Clone this repo and source `forgit.plugin.sh` in `~/.bashrc`.
## Commands
@ -47,6 +47,12 @@ Interactive `git log` browser
![screenshot](https://raw.githubusercontent.com/wfxr/i/master/forgit-glo.png)
### gi
Interactive `.gitignore` generator
![screenshot](https://raw.githubusercontent.com/wfxr/i/master/forgit-gi.png)
### gd
Interactive `git diff` browser
@ -59,12 +65,6 @@ Interactive `git checkout <file>` selector
Interactive `git clean` selector
### gi
Interactive `.gitignore` generator
![screenshot](https://raw.githubusercontent.com/wfxr/i/master/forgit-gi.png)
## Default keybinds
| Keybind | Action |