From dbcf49dab2b729274ea9977e9c6734935627faa0 Mon Sep 17 00:00:00 2001 From: Wes Roberts Date: Sat, 5 Jun 2021 17:32:40 -0400 Subject: [PATCH] Instructions for installing without git --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index af18c6b..aa7e576 100644 --- a/README.md +++ b/README.md @@ -23,6 +23,16 @@ Clone this repository into your `~/.config/ranger/plugins` folder. For example: git clone git@github.com:jchook/ranger-zoxide.git ~/.config/ranger/plugins/zoxide ``` +## Install without Git + +For ranger versions older than 1.9.3, or to install without Git, simply 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 +``` + ## Keyboard Shortcut You may wish to add a keyboard shortcut to quickly `z` between common