docs: Create bin directory before fetching rmate file to it.

Running the curl command when the directory is not present causes it to fail.
This commit is contained in:
Puneeth Chaganti
2020-03-18 05:44:04 +05:30
committed by GitHub
parent 815418d0d7
commit 1a994821fc

View File

@@ -193,6 +193,7 @@ To setup [rmate](https://github.com/textmate/rmate) for VS Code:
[Remote VSCode](https://marketplace.visualstudio.com/items?itemName=rafaelmaiolla.remote-vscode).
2. On your remote machine, run:
```
$ mkdir -p ~/bin
$ curl -Lo ~/bin/rmate https://raw.githubusercontent.com/textmate/rmate/master/bin/rmate
$ chmod a+x ~/bin/rmate
```