Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/decors/fish-ghq
ghq completion and keybinding for fish shell
https://github.com/decors/fish-ghq
fish-plugin
Last synced: about 1 month 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 9 years ago)
- Default Branch: master
- Last Pushed: 2023-08-26T00:56:02.000Z (11 months ago)
- Last Synced: 2024-02-23T11:49:22.226Z (5 months ago)
- Topics: fish-plugin
- Language: Shell
- Homepage:
- Size: 27.3 KB
- Stars: 105
- Watchers: 7
- Forks: 25
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Lists
- awesome-stars - decors/fish-ghq - ghq completion and keybinding for fish shell (Shell)
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
![Completions1](https://raw.githubusercontent.com/decors/various/master/images/ghq-screenshot1.png)
### Help
![Completions2](https://raw.githubusercontent.com/decors/various/master/images/ghq-screenshot2.png)
### Repositories
![Completion3](https://raw.githubusercontent.com/decors/various/master/images/ghq-screenshot3.png)
## 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