https://github.com/lorenzophys/search-alias
How many times you created a shell alias for a command that is hard to remember, but then you also forgot the alias itself?
https://github.com/lorenzophys/search-alias
productivity shell tool
Last synced: 5 months ago
JSON representation
How many times you created a shell alias for a command that is hard to remember, but then you also forgot the alias itself?
- Host: GitHub
- URL: https://github.com/lorenzophys/search-alias
- Owner: lorenzophys
- License: mit
- Created: 2023-08-11T20:11:44.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2023-08-14T14:22:04.000Z (almost 3 years ago)
- Last Synced: 2023-08-14T16:34:17.559Z (almost 3 years ago)
- Topics: productivity, shell, tool
- Language: Shell
- Homepage:
- Size: 7.81 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Alias Searcher with `fzf`
How many times you created a shell alias for a command that is hard to remember, but then you also forgot the alias itself?
## Requirements
- [`fzf`](https://github.com/junegunn/fzf): You must have `fzf` installed.
- **Shell Compatibility**: Currently, this script is designed for `zsh`. However, contributions to extend its support to other shells are more than welcome!
## Installation
1. Ensure you have `fzf` installed. You can usually install it via your package manager, e.g., `brew install fzf` if you're on macOS.
2. Use the convenient installation script: `curl -fsSL https://raw.githubusercontent.com/lorenzophys/search-alias/main/install.sh -o /tmp/install.sh && bash /tmp/install.sh`
3. The default key binding for invoking the alias searcher is `Ctrl-z`. If this clashes with another key binding, or if you'd simply prefer a different key, you're free to modify it to your liking within the script.
## Trust
Before piping a script from the internet to `bash`, it's good practice to check what you are about to execute. You can make sure nothing suspicious is going on in `install.sh` before running the install command. If in doubt, please open an issue.
## Contribute
Feel like this tool could be improved or expanded? Please, open a PR or an issue. Let's make command-line life easier for everyone.
## License
This project is licensed under the MIT License - see the LICENSE file for details.