Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions nodeenv.py
Original file line number Diff line number Diff line change
Expand Up @@ -1436,8 +1436,8 @@ def main():

# Prompt override provided?
# If not, just prepend the environment name.
if test -n ""
printf '%s%s' "" (set_color normal)
if test -n "__NODE_VIRTUAL_PROMPT__"
printf '%s%s ' "__NODE_VIRTUAL_PROMPT__" (set_color normal)
else
printf '%s(%s) ' (set_color normal) (basename "$NODE_VIRTUAL_ENV")
end
Expand Down