https://github.com/decors/fish-ghq
ghq completion and keybinding for fish shell
https://github.com/decors/fish-ghq
fish-plugin
Last synced: 11 months ago
JSON representation
ghq completion and keybinding for fish shell
- Host: GitHub
- URL: https://github.com/decors/fish-ghq
- Owner: decors
- License: mit
- Created: 2015-08-12T09:47:48.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2023-08-26T00:56:02.000Z (almost 3 years ago)
- Last Synced: 2024-08-07T18:45:01.472Z (almost 2 years ago)
- Topics: fish-plugin
- Language: Shell
- Homepage:
- Size: 27.3 KB
- Stars: 108
- Watchers: 7
- Forks: 25
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# fish-ghq
completions and keybinding for [ghq]
## Todo
* Fix Keybinding conflict with [jethrokuan/fzf](https://github.com/jethrokuan/fzf)
## Install
* Install [ghq]
* Install [fzf], [fzy], [peco], [percol] or [skim]
* Install [Fisher](https://github.com/jorgebucaran/fisher)
* Install this plugin
```fish
fisher install decors/fish-ghq
```
## Keybinding
* Ctrl-g: repository finder using [fzf], [fzy], [peco], [percol] or [skim].
## Variables
### `GHQ_SELECTOR`
Default selector is `fzf`. If you want to change selector, run
```fish
set -g GHQ_SELECTOR peco (or fzf, fzf-tmux, fzy, percol, sk)
```
### `GHQ_SELECTOR_OPTS`
fzf example :
```fish
set -g GHQ_SELECTOR_OPTS "--no-sort --reverse --ansi --color bg+:13,hl:3,pointer:7"
```
peco example :
```fish
set -g GHQ_SELECTOR_OPTS "--layout=top-down --prompt='ghq>'"
```
## Completions
### Subcommands

### Help

### Repositories

## License
fish-ghq is MIT licensed. See [LICENSE](LICENSE) file for details.
[ghq]:https://github.com/motemen/ghq
[peco]:https://github.com/peco/peco
[fzf]:https://github.com/junegunn/fzf
[fzy]:https://github.com/jhawthorn/fzy
[percol]:https://github.com/mooz/percol
[skim]:https://github.com/lotabout/skim