From ae8de44df7bad7a49e2f06bf55cb1aa5fea9b78e Mon Sep 17 00:00:00 2001 From: Denis Isidoro Date: Wed, 2 Oct 2019 16:07:37 -0300 Subject: [PATCH] Install instruction updates (#106) Fixes #51 --- README.md | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/README.md b/README.md index 5a2ec74..1bc3944 100644 --- a/README.md +++ b/README.md @@ -55,7 +55,7 @@ Alternatively, you can `git clone` this repository and run `make`: ```sh git clone --depth 1 https://github.com/denisidoro/navi /opt/navi cd /opt/navi -sudo make install +sudo make install # or ./scripts/install /some/path # install fzf: https://github.com/junegunn/fzf ``` @@ -63,7 +63,6 @@ sudo make install Make sure that your oh-my-zsh `$ZSH_CUSTOM` directory is configured, then clone navi into the plugins directory. ```sh -export ZSH_CUSTOM='/path/to/.zsh' plugins_dir="$ZSH_CUSTOM/plugins" mkdir -p "$plugins_dir" cd "$plugins_dir" @@ -71,14 +70,8 @@ git clone https://github.com/denisidoro/navi ``` Then, add it to the oh-my-zsh plugin array: -``` -# Sample ~/.zshrc -ZSHCFG="$HOME/.zsh" -ZSH="$ZSHCFG/oh-my-zsh" -ZSH_CUSTOM="$ZSHCFG" +```sh plugins=(docker tmux fzf navi) -# ... -source "$ZSH/oh-my-zsh.sh" ``` Finally, you can use it as a [shell widget](#shell-widget).