mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-30 02:44:42 +01:00
Fix(nvm): Use unaliased cat command
This commit is contained in:
parent
b1af78d64d
commit
2afdd0f63c
1 changed files with 1 additions and 1 deletions
|
|
@ -50,7 +50,7 @@ function _omz_setup_autoload {
|
|||
zstyle -t ':omz:plugins:nvm' silent-autoload && nvm_silent="--silent"
|
||||
|
||||
if [[ -n "$nvmrc_path" ]]; then
|
||||
local nvmrc_node_version=$(nvm version $(cat "$nvmrc_path" | tr -dc '[:print:]'))
|
||||
local nvmrc_node_version=$(nvm version $(command cat "$nvmrc_path" | tr -dc '[:print:]'))
|
||||
|
||||
if [[ "$nvmrc_node_version" = "N/A" ]]; then
|
||||
nvm install
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue