diff --git a/README.md b/README.md index d1dd29f..8c61a4b 100644 --- a/README.md +++ b/README.md @@ -84,7 +84,7 @@ Scope: - In Bash scripts, subshells (written with parentheses) are convenient ways to group commands. A common example is to temporarily move to a different working directory, e.g. ```bash # do something in current dir - (cd /some/other/dir; other-command) + (cd /some/other/dir && other-command) # continue in original dir ```