Merge pull request #2 from jchook/1-python-module

Rename zoxide.py to __init__.py for easy install and update
This commit is contained in:
Wes Roberts 2021-06-05 17:47:09 -04:00 committed by GitHub
commit c48de23011
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 1 deletions

View file

@ -17,9 +17,19 @@ Easily jump between commonly visited directories by running this in ranger:
## Install
Simply copy `zoxide.py` to your `~/.config/ranger/plugins` folder. For example:
For ranger >= 1.9.3, use Git to clone this repository into your
`~/.config/ranger/plugins` folder. For example:
```sh
git clone git@github.com:jchook/ranger-zoxide.git ~/.config/ranger/plugins/zoxide
```
**Legacy Install**
For ranger versions older than 1.9.3, or to install without Git, download
`__init__.py` to your `~/.config/ranger/plugins` directory. For example:
```sh
mkdir -p ~/.config/ranger/plugins
wget -O ~/.config/ranger/plugins/zoxide.py https://raw.githubusercontent.com/jchook/ranger-zoxide/master/zoxide.py
```