mirror of
https://github.com/Cornelicorn/bullet-train.zsh.git
synced 2025-12-06 20:00:38 +01:00
Merge pull request #139 from Lyncredible/parse_error_line_543
Fix for parse error - Issue #134
This commit is contained in:
@@ -540,7 +540,7 @@ prompt_nvm() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
local nvm_prompt
|
local nvm_prompt
|
||||||
if [[ $(type nvm >/dev/null 2>&1) ]]; then
|
if type nvm >/dev/null 2>&1; then
|
||||||
nvm_prompt=$(nvm current 2>/dev/null)
|
nvm_prompt=$(nvm current 2>/dev/null)
|
||||||
[[ "${nvm_prompt}x" == "x" ]] && return
|
[[ "${nvm_prompt}x" == "x" ]] && return
|
||||||
else
|
else
|
||||||
|
|||||||
Reference in New Issue
Block a user