From afc14f79ccf608078eec4f893bf9da188ae166da Mon Sep 17 00:00:00 2001 From: babaorum Date: Mon, 16 Apr 2018 22:37:54 +0200 Subject: [PATCH 1/2] make Oh my zsh install works without ZSH_CUSTOM defined --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 6a6ae1e..65e414a 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ Requirements: Zsh v4.3.11 or later 1. Clone this repository into `$ZSH_CUSTOM/plugins` (by default `~/.oh-my-zsh/custom/plugins`) ```sh - git clone https://github.com/zsh-users/zsh-autosuggestions $ZSH_CUSTOM/plugins/zsh-autosuggestions + git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions ``` 2. Add the plugin to the list of plugins for Oh My Zsh to load: From b2b9bf3b8c72e83feec3c52be0bc06bd4ffa3c56 Mon Sep 17 00:00:00 2001 From: Benjamin Denhartog Date: Mon, 14 May 2018 07:06:14 -0700 Subject: [PATCH 2/2] update arch linux installation instructions (now available via pacman) closes #328 --- README.md | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 65e414a..a8ad5de 100644 --- a/README.md +++ b/README.md @@ -46,17 +46,16 @@ Requirements: Zsh v4.3.11 or later 3. Start a new terminal session. -### Arch Linux via the AUR -1. Install the [`zsh-autosuggestions`](https://aur.archlinux.org/packages/zsh-autosuggestions/) or the [`zsh-autosuggestions-git`](https://aur.archlinux.org/packages/zsh-autosuggestions-git/) packages from the [AUR](https://wiki.archlinux.org/index.php/Arch_User_Repository). +### Arch Linux + +1. Install [`zsh-autosuggestions`](https://www.archlinux.org/packages/community/any/zsh-autosuggestions/) from the `community` repository. ```sh - pacaur -S zsh-autosuggestions - ``` - or - ``` - pacaur -S zsh-autosuggestions-git + pacman -S zsh-autosuggestions ``` + or, to use a package based on the `master` branch, install [`zsh-autosuggestions-git`](https://aur.archlinux.org/packages/zsh-autosuggestions-git/) from the [AUR](https://wiki.archlinux.org/index.php/Arch_User_Repository). + 2. Add the following to your `.zshrc`: ```sh