1
0
mirror of https://github.com/SpaceVim/SpaceVim.git synced 2025-01-23 07:00:04 +08:00

fix alias in Docker Hub README.md (#2715)

Changed double to single quotes in the alias example so shells will interpret `$(pwd)` at alias runtime rather than load time.

For background on shell double vs. single quotes, see:
https://stackoverflow.com/a/5573447/749924
https://unix.stackexchange.com/a/355637/36204

Bonus Thank You's:
1. SpaceVim is awesome and I tell everyone about it.
2. The SpaceVim image is my new favorite way to test issues I'm having on host SpaceVim, and it's always my host config's fault :P
This commit is contained in:
Bret Fisher 2019-03-30 20:03:19 -04:00 committed by Wang Shidong
parent 133b9d4757
commit afbd54a538

View File

@ -38,4 +38,4 @@ but that isn't terribly useful since changes made inside the container won't be
Even better is an alias `dnvim` which will do this automatically:
alias dnvim="docker run -it -v $(pwd):/home/spacevim/src nvim"
alias dnvim='docker run -it -v $(pwd):/home/spacevim/src nvim'