Skip to content

Commit 8da2250

Browse files
Add missing backslash for dots, cc #1279, 2a2b8bd, cadbbce
1 parent 4b4e71f commit 8da2250

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

README.markdown

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ export NVM_DIR="$HOME/.nvm" && (
116116
git clone https://github.com/creationix/nvm.git "$NVM_DIR"
117117
cd "$NVM_DIR"
118118
git checkout `git describe --abbrev=0 --tags --match "v[0-9]*" origin`
119-
) && . "$NVM_DIR/nvm.sh"
119+
) && \. "$NVM_DIR/nvm.sh"
120120
```
121121

122122
Add these lines to your `~/.bashrc`, `~/.profile`, or `~/.zshrc` file to have it automatically sourced upon login:
@@ -141,7 +141,7 @@ For manual upgrade with `git` (requires git v1.7+):
141141
cd "$NVM_DIR"
142142
git fetch origin
143143
git checkout `git describe --abbrev=0 --tags --match "v[0-9]*" origin`
144-
) && . "$NVM_DIR/nvm.sh"
144+
) && \. "$NVM_DIR/nvm.sh"
145145
```
146146

147147
## Usage

install.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -331,7 +331,7 @@ nvm_do_install() {
331331

332332
# Source nvm
333333
# shellcheck source=/dev/null
334-
. "${INSTALL_DIR}/nvm.sh"
334+
\. "${INSTALL_DIR}/nvm.sh"
335335

336336
nvm_check_global_modules
337337

update_test_mocks.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ MOCKS_DIR="$PWD/test/fast/Unit tests/mocks"
99
echo "creating $MOCKS_DIR"
1010
mkdir -p "$MOCKS_DIR"
1111

12-
. "$NVM_DIR/nvm.sh" --no-use
12+
\. "$NVM_DIR/nvm.sh" --no-use
1313
nvm deactivate 2> /dev/null
1414
nvm_is_version_installed() {
1515
return 1

0 commit comments

Comments
 (0)