mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-02-15 19:53:42 +00:00
feat(config): fish configs
This commit is contained in:
5
config/fish/functions/_nvm_version_deactivate.fish
Normal file
5
config/fish/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