Add nvm as a plugin
This commit is contained in:
committed by
Gergely Polonkai
parent
808ef03273
commit
6834c73fe5
5
functions/_nvm_version_deactivate.fish
Normal file
5
functions/_nvm_version_deactivate.fish
Normal file
@@ -0,0 +1,5 @@
|
||||
function _nvm_version_deactivate --argument-names ver
|
||||
test "$nvm_current_version" = "$ver" && set --erase nvm_current_version
|
||||
set --local index (contains --index -- $nvm_data/$ver/bin $PATH) &&
|
||||
set --erase PATH[$index]
|
||||
end
|
Reference in New Issue
Block a user