Browse Source

Escape `cd` calls in Bash's use-on-cd (#323)

This was suggested by @mirabilos
remotes/origin/add-with-shims
Gal Schlezinger 4 years ago committed by GitHub
parent
commit
93b9059f9d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      src/shell/bash.rs

2
src/shell/bash.rs

@ -28,7 +28,7 @@ impl Shell for Bash {
} }
__fnmcd() { __fnmcd() {
cd "$@" || return $? \cd "$@" || return $?
__fnm_use_if_file_found __fnm_use_if_file_found
} }

Loading…
Cancel
Save