Update README

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

View File

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