Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/MohamedElashri/fd-zsh
Adds aliases for fd, a modern replacement for find.
https://github.com/MohamedElashri/fd-zsh
find hacktoberfest hacktoberfest2022 zsh zsh-plugin
Last synced: about 1 month ago
JSON representation
Adds aliases for fd, a modern replacement for find.
- Host: GitHub
- URL: https://github.com/MohamedElashri/fd-zsh
- Owner: MohamedElashri
- License: mit
- Created: 2022-10-01T22:56:36.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2022-10-01T23:42:35.000Z (over 1 year ago)
- Last Synced: 2024-01-24T18:58:00.923Z (4 months ago)
- Topics: find, hacktoberfest, hacktoberfest2022, zsh, zsh-plugin
- Language: Shell
- Homepage:
- Size: 6.84 KB
- Stars: 5
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Lists
- awesome-zsh-plugins - fd-plugin - Adds aliases for [fd](https://github.com/sharkdp/fd), a modern replacement for `find`. (Plugins / ZSH on Windows)
- fucking-awesome-zsh-plugins - fd-plugin - Adds aliases for <b><code> 31938⭐</code></b> <b><code> 769🍴</code></b> [fd](https://github.com/sharkdp/fd)), a modern replacement for `find`. (Plugins / ZSH on Windows)
README
# fd-zsh Plugin
[fd](https://github.com/sharkdp/fd) aliases plugin for zsh.
This plugin defines useful aliases that can be used for `fd` the moden alternative of `find`.
## Installation
This plugin is written with MacOS in mind. but it should work on any unix based OS.1. First, Install exa
```bash
brew install fd
```
2. Clone this repository into zsh plugins folder
```bash
cd ~/.oh-my-zsh/custom/plugins
git clone https://github.com/MohamedElashri/fd-zsh
```
or```bash
cd $ZSH_CUSTOM/plugins/
git clone https://github.com/MohamedElashri/fd-zsh
```
3. Add the plugin to `/.zshrc`You should add `fd-zsh` to the plugin list
`plugins=(... fd-zsh)`
4. Restart the terminal session
You can do this via
``` zsh
source $ZSH/oh-my-zsh.sh
```
## Usage/Examples
This project contain some useful aliasses that you can run in your terminal that zsh supported like `ITerm2`.You can type in the alias in your terminal. This is a list of available aliasses.
| Alias | Command | Help |
|:-----:|:------------------:|:--------------------------------------------------------:|
| fd | fd --color always | Always colorize output by default |
| fd_details | fd --list-details | list details |
| fd_ext | fd --extension | Filter by file extension, insert after this command |
| fd_name | fd --glob | Filter by file name (default: regular expression) |
| fd_case | fd --ignore-case | Search hidden files and directories |
| fd_abs | fd --absolute-path | Show absolute instead of relative paths |
| fd_exec | fd --exec | Execute command for each search result |
| fd_execlude | fd --exclude | Exclude files and directories that match the given glob pattern |
| fd_size | fd --size | SFilter by file size (insert after this command) |
| fd_owner | fd --owner | Filter by file owner (insert after this command) |
| fd_symbolic | fd --follow | Follow symbolic links |
| fd_version | fd --version | Show version information |
| fd_help | fd --help | Show help message |
## ContributingContributions are always welcome!
Pull requests are welcome. I will test them to make sure they are compatible.
Please make sure to update tests as appropriate.
## Authors- [@MohamedElashri](https://www.github.com/MohamedElashri)
## License[MIT](https://choosealicense.com/licenses/mit/)