From c3511c9c51c12a921b22acf747f39ba38303100d Mon Sep 17 00:00:00 2001 From: Gianluca Recchia Date: Sun, 3 May 2020 14:43:50 +0200 Subject: [PATCH] Comply with the XDG protocol in the README --- README.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index bad081d..cc5bf47 100644 --- a/README.md +++ b/README.md @@ -59,8 +59,8 @@ $uri = 'https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim' ###### Unix ```sh -curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs \ - https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim +sh -c 'curl -fLo "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim --create-dirs \ + https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim' ``` ###### Windows (PowerShell) @@ -308,4 +308,3 @@ The commands with `!` suffix ensure that all steps are run unconditionally. ### License MIT -