Skip to content

Commit 601f676

Browse files
committed
Remove appending DVM_DIR to PATH.
1 parent 4d2a48c commit 601f676

File tree

3 files changed

+0
-3
lines changed

3 files changed

+0
-3
lines changed

README-CN.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -222,7 +222,6 @@ rm -rf "$DVM_DIR"
222222
```sh
223223
# Deno Version Manager
224224
export DVM_DIR="$HOME/.dvm"
225-
export PATH="$PATH:$DVM_DIR"
226225
[ -f "$DVM_DIR/dvm.sh" ] && . "$DVM_DIR/dvm.sh"
227226
[ -f "$DVM_DIR/bash_completion" ] && . "$DVM_DIR/bash_completion"
228227
```

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,6 @@ Edit shell config file (like `.bashrc` or `.zshrc`), and remove the following li
266266
```sh
267267
# Deno Version Manager
268268
export DVM_DIR="$HOME/.dvm"
269-
export PATH="$PATH:$DVM_DIR"
270269
[ -f "$DVM_DIR/dvm.sh" ] && . "$DVM_DIR/dvm.sh"
271270
[ -f "$DVM_DIR/bash_completion" ] && . "$DVM_DIR/bash_completion"
272271
```

install.sh

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,6 @@ add_nvm_into_rc_file() {
4444
echo "
4545
# Deno Version Manager
4646
export DVM_DIR=\"\$HOME/.dvm\"
47-
export PATH=\"\$PATH:\$DVM_DIR\"
4847
[ -f \"\$DVM_DIR/dvm.sh\" ] && $cmd_declaration\"\$DVM_DIR/dvm.sh\"
4948
[ -f \"\$DVM_DIR/bash_completion\" ] && . \"\$DVM_DIR/bash_completion\"
5049
" >> "$DVM_RC_FILE"

0 commit comments

Comments
 (0)