From 37bfbfa2190eedd2eb173d292e669b3bcc1580fd Mon Sep 17 00:00:00 2001 From: Kai Nguyen Date: Mon, 29 Aug 2022 15:23:31 +0930 Subject: [PATCH] Fix broken alias when running in folder that has name containing `space` character --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 9fbfd9d..2493cab 100644 --- a/README.md +++ b/README.md @@ -11,7 +11,7 @@ hub as [aligent/serverless](https://hub.docker.com/r/aligent/serverless). Add the following lines to your `~/.bashrc` file to be able to run it easily... ``` -alias node-run='docker run --rm -it --volume ~/.aws:/home/node/.aws --volume ~/.azure:/home/node/.azure --volume ~/.npm:/home/node/.npm --volume $PWD:/app aligent/serverless' +alias node-run='docker run --rm -it --volume ~/.aws:/home/node/.aws --volume ~/.azure:/home/node/.azure --volume ~/.npm:/home/node/.npm --volume "$PWD:/app" aligent/serverless' alias serverless='node-run serverless' ```