mirror of
https://github.com/SeriousBug/dotfiles
synced 2024-11-01 11:37:29 -05:00
6 lines
233 B
Fish
6 lines
233 B
Fish
function _nvm_version_deactivate --argument-names v
|
|
test "$nvm_current_version" = "$v" && set --erase nvm_current_version
|
|
set --local index (contains --index -- $nvm_data/$v/bin $PATH) &&
|
|
set --erase PATH[$index]
|
|
end
|