mirror of
https://github.com/cupcakearmy/dotfiles.git
synced 2024-11-01 04:54:10 +01:00
6 lines
239 B
Fish
6 lines
239 B
Fish
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
|