Comply with the XDG protocol in the README (#966)

This commit is contained in:
Gianluca Recchia 2020-05-06 12:57:50 +02:00 committed by GitHub
parent 8846bc6af1
commit 71c41fccf5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -59,8 +59,8 @@ $uri = 'https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
###### Unix, Linux ###### Unix, Linux
```sh ```sh
curl -fLo ~/.local/share/nvim/site/autoload/plug.vim --create-dirs \ 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 https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
``` ```
###### Linux (Flatpak) ###### Linux (Flatpak)
@ -315,4 +315,3 @@ The commands with `!` suffix ensure that all steps are run unconditionally.
### License ### License
MIT MIT