diff --git a/README.md b/README.md
index 9c37cd63b7..0eb56c9142 100644
--- a/README.md
+++ b/README.md
@@ -566,7 +566,7 @@ cdnvm() {
     fi
 }
 alias cd='cdnvm'
-cd $PWD
+cd "$PWD"
 ```
 
 This alias would search 'up' from your current directory in order to detect a `.nvmrc` file. If it finds it, it will switch to that version; if not, it will use the default version.