From 71c41fccf5ca42081d4d49aa1ea2f71c694bc4cf Mon Sep 17 00:00:00 2001 From: Gianluca Recchia Date: Wed, 6 May 2020 12:57:50 +0200 Subject: [PATCH] Comply with the XDG protocol in the README (#966) --- README.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 5732b94..4cc7af7 100644 --- a/README.md +++ b/README.md @@ -59,8 +59,8 @@ $uri = 'https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim' ###### Unix, Linux ```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' ``` ###### Linux (Flatpak) @@ -315,4 +315,3 @@ The commands with `!` suffix ensure that all steps are run unconditionally. ### License MIT -