Update README

This commit is contained in:
Ajeet D'Souza 2020-03-09 00:35:37 +05:30
parent 0aaf806260
commit 062f33ab61

View File

@ -11,8 +11,8 @@ A cd command that learns your habits
- [Getting started](#getting-started) - [Getting started](#getting-started)
- [Installing `zoxide`](#installing-zoxide) - [Installing `zoxide`](#installing-zoxide)
- [Adding `zoxide` to your shell](#adding-zoxide-to-your-shell) - [Adding `zoxide` to your shell](#adding-zoxide-to-your-shell)
+ [zsh](#zsh) - [zsh](#zsh)
+ [fish](#fish) - [fish](#fish)
- [Configuration](#configuration) - [Configuration](#configuration)
- [Environment variables](#environment-variables) - [Environment variables](#environment-variables)
@ -25,8 +25,8 @@ On my system, compiled with the `x86_64-unknown-linux-musl` target, `hyperfine`
## Examples ## Examples
```sh ```sh
z foo # cd to top directory matching foo z foo # cd to highest ranked directory matching foo
z foo bar # cd to top directory matching foo and bar z foo bar # cd to highest ranked directory matching foo and bar
z foo/ # can also cd into actual directories z foo/ # can also cd into actual directories
@ -91,12 +91,15 @@ alias zr="zoxide remove"
``` ```
#### fish #### fish
Using [fisher](https://github.com/jorgebucaran/fisher): Using [fisher](https://github.com/jorgebucaran/fisher):
```sh ```sh
fisher add ajeetdsouza/zoxide fisher add ajeetdsouza/zoxide
``` ```
Using [oh-my-fish](https://github.com/oh-my-fish/oh-my-fish): Using [oh-my-fish](https://github.com/oh-my-fish/oh-my-fish):
```sh ```sh
omf install https://github.com/ajeetdsouza/zoxide omf install https://github.com/ajeetdsouza/zoxide
``` ```