From afbd54a5388cd1da78903a2e2beff4e4369ea30b Mon Sep 17 00:00:00 2001 From: Bret Fisher Date: Sat, 30 Mar 2019 20:03:19 -0400 Subject: [PATCH] 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 --- docker/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/README.md b/docker/README.md index 4ecb9c6fe..e86d021b9 100644 --- a/docker/README.md +++ b/docker/README.md @@ -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'