From 49c2ef0faa2ff01fb53379e29b0b5e09c1ae25c7 Mon Sep 17 00:00:00 2001 From: dannc Date: Tue, 7 May 2024 12:25:28 +0700 Subject: [PATCH] fix readme --- readme.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/readme.md b/readme.md index aa13640..4fe9353 100644 --- a/readme.md +++ b/readme.md @@ -54,16 +54,16 @@ where replace `M` with major, and `m` with minor php version. ##### Using oh-my-zsh from local machine To use already installed `oh-my-zsh` inside docker container we should pass couple volumes and environment variables: -* `-v .zshrc:/home/user/.zshrc` - configuration file for `zsh` -* `-v .oh-my-zsh:/home/user/oh-my-zsh` - directory with installed `oh-my-zsh` +* `-v ~/.zshrc:/home/user/.zshrc` - configuration file for `zsh` +* `-v ~/.oh-my-zsh:/home/user/oh-my-zsh` - directory with installed `oh-my-zsh` * `-e HOME=/home/user` - define user home directory Full run command would be looks like ```bash docker run -it --rm \ -v `pwd`:/var/www/project \ - -v .zshrc:/home/user/.zshrc \ - -v .oh-my-zsh:/home/user/oh-my-zsh \ + -v ~/.zshrc:/home/user/.zshrc \ + -v ~/.oh-my-zsh:/home/user/oh-my-zsh \ -e HOME=/home/user \ -w /var/www/project \ --user=1000 php-for-dev:M.m zsh