From 6ee1ed8aa8dd4e42523f3c32008dcdae45044053 Mon Sep 17 00:00:00 2001 From: iToXiQ Date: Sun, 30 Oct 2022 23:58:54 +0100 Subject: [PATCH] docs: added installation information for oh-my-zsh --- README.md | 36 ++++++++++++++++++++++-------------- 1 file changed, 22 insertions(+), 14 deletions(-) diff --git a/README.md b/README.md index 5a22cb6..5a22a6c 100644 --- a/README.md +++ b/README.md @@ -1,9 +1,7 @@ [version-badge]: https://img.shields.io/github/tag/b4b4r07/enhancd.svg [version-link]: https://github.com/b4b4r07/enhancd/releases - [active-badge]: https://masterminds.github.io/stability/active.svg -[active-link]: https://masterminds.github.io/stability/active.html - +[active-link]: https://masterminds.github.io/stability/active.html [awk-link]: http://pubs.opengroup.org/onlinepubs/9699919799/utilities/awk.html [license-link]: https://b4b4r07.mit-license.org @@ -69,7 +67,6 @@ Thanks to this mechanism, the user can intuitively and easily change the directo - Fish version - Because of how fish piping works, it's not possible to pipe to cd like : `ls / | cd` - ### Fuzzy search You can fuzzy-search a directory name you want to run `cd`. For example, a word "text" is expand to "test" and "txt". @@ -191,7 +188,6 @@ When moving to the parent directory, the current directory is removed from the c - ### Enhancd complete (fish) On fish shell, you can use `alt+f` to trigger `enhancd` when typing a command, the selected item will be appended to the commandline @@ -216,15 +212,15 @@ Using CLI package manager "[afx](https://github.com/b4b4r07/afx)". YAML for the ```yaml github: -- name: b4b4r07/enhancd - description: A next-generation cd command with your interactive filter - owner: b4b4r07 - repo: enhancd - plugin: - env: - ENHANCD_FILTER: fzf --height 25% --reverse --ansi:fzy - sources: - - init.sh + - name: b4b4r07/enhancd + description: A next-generation cd command with your interactive filter + owner: b4b4r07 + repo: enhancd + plugin: + env: + ENHANCD_FILTER: fzf --height 25% --reverse --ansi:fzy + sources: + - init.sh ``` then, @@ -267,6 +263,18 @@ Also if you use zsh as your shell, you can install this via [zplug](https://gith zplug "b4b4r07/enhancd", use:init.sh ``` +You can also use it with [oh-my-zsh](https://github.com/ohmyzsh/ohmyzsh): + +```bash + git clone https://github.com/b4b4r07/enhancd.git $ZSH_CUSTOM/plugins/enhancd +``` + +and then load as a plugin in your `.zshrc`: + +```bash + plugins+=(enhancd) +``` + ### Fish #### System Requirements