Anthony Rodriguez
dc7ee4d021
Add .config/fish/functions/_fzf_extract_var_info.fish Add .config/fish/functions/_fzf_preview_changed_file.fish Add .config/fish/functions/_fzf_preview_file.fish Add .config/fish/functions/_fzf_report_diff_type.fish Add .config/fish/functions/_fzf_report_file_type.fish Add .config/fish/functions/_fzf_search_directory.fish Add .config/fish/functions/_fzf_search_git_log.fish Add .config/fish/functions/_fzf_search_git_status.fish Add .config/fish/functions/_fzf_search_history.fish Add .config/fish/functions/_fzf_search_processes.fish Add .config/fish/functions/_fzf_search_variables.fish Add .config/fish/functions/_fzf_wrapper.fish Add .config/fish/functions/_nvm_index_update.fish Add .config/fish/functions/_nvm_list.fish Add .config/fish/functions/_nvm_version_activate.fish Add .config/fish/functions/_nvm_version_deactivate.fish Add .config/fish/functions/fish_greeting.fish Add .config/fish/functions/fish_mode_prompt.fish Add .config/fish/functions/fish_title.fish Add .config/fish/functions/fzf_configure_bindings.fish Add .config/fish/functions/nvm.fish
5 lines
239 B
Fish
5 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
|