Skip to content

Commit

Permalink
Merge pull request #255 from sophgn/master
Browse files Browse the repository at this point in the history
Fixed erase NODE_VIRTUAL_ENV while deactivate_node in fish
  • Loading branch information
ekalinin authored Apr 24, 2020
2 parents 2ba54b4 + f0c547a commit 2324066
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions nodeenv.py
Original file line number Diff line number Diff line change
Expand Up @@ -1337,6 +1337,8 @@ def main():
set -e _OLD_NODE_FISH_PROMPT_OVERRIDE
end
set -e NODE_VIRTUAL_ENV
if test (count $argv) = 0 -o "$argv[1]" != "nondestructive"
# Self destruct!
functions -e deactivate_node
Expand Down

0 comments on commit 2324066

Please sign in to comment.