Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cds-amal/fzf-eip
fzf and eips
https://github.com/cds-amal/fzf-eip
bash eip ethereum fzf zsh
Last synced: 14 days ago
JSON representation
fzf and eips
- Host: GitHub
- URL: https://github.com/cds-amal/fzf-eip
- Owner: cds-amal
- License: mit
- Created: 2021-08-14T12:54:29.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2024-04-12T00:04:31.000Z (7 months ago)
- Last Synced: 2024-04-12T07:09:58.945Z (7 months ago)
- Topics: bash, eip, ethereum, fzf, zsh
- Language: Shell
- Homepage:
- Size: 1.67 MB
- Stars: 36
- Watchers: 5
- Forks: 4
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
Awesome Lists containing this project
README
# EIP Fuzzy finder launch thing
[fzf](https://github.com/junegunn/fzf) helper to search EIPs by number or name.
Selecting it will open the EIP in your browser. [See this
demo](https://www.youtube.com/watch?v=2VOZV9tsmGs)## Search 🔍
![fuzzy-search](./assets/fuzzy-search.gif)
## Launch 🚀
![fuzzy-launch](./assets/fuzzy-launch.gif)
# Installation
1. Install [fzf](https://github.com/junegunn/fzf), a general-purpose
command-line fuzzy finder.1. Clone this repo
```sh
git clone https://github.com/cds-amal/fzf-eip.git ~/.fzf-eip
```
1. Edit your .bashrc or .zshrc startup script file. If you don't know, enter
`ps -p $$` to know your currently running shell. Modify `~/.bashrc` for bash
and `~/.zshrc` for zsh.```sh
# somewhere in your .bashrc or .zshrc file...# FZF_EIP_HOME is the directory where you cloned to
export FZF_EIP_HOME=$HOME/.fzf-eip
source $FZF_EIP_HOME/init.sh
```## A note on browser configuration
For non WSL linux and Mac OS X, this script relies on `xdg-open`. You can
[configure](./init.sh) this to a different browser if `xdg-open` is not viable for your
setup.For WSL2, it relies on the fullpath to the browser executable. You can change
the default to use the browser of your choice in [init.sh](./init.sh) for more
details.## Supported Operating Systems
| Operating System | Support Status |
| ------------------ | -------------- |
| Ubuntu | 🟢 |
| Debian | 🟢 |
| MacOS | 🟢 |
| WSL 2 (Windows 10) | 🟢 |
| WSL 2 (Windows 11) | 🟢 |
| FreeBSD | 🤷♂️ |