Skip to content

Commit

Permalink
feat(rakefile): add command to remove Neovim
Browse files Browse the repository at this point in the history
  • Loading branch information
olimorris committed Dec 17, 2023
1 parent 8a5e916 commit 5feac52
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions tasks/apps.rake
Original file line number Diff line number Diff line change
Expand Up @@ -88,3 +88,17 @@ namespace :rollback do
end
end
end

namespace :uninstall do
desc 'Uninstall Neovim'
task :neovim do
section 'Uninstalling Neovim'

unless testing?
run %( rm ~/.neovim/backup )
run %( mv ~/.neovim/latest ~/.neovim/backup )
run %( rm -rf /usr/local/bin/nvim )
run %( rm -rf /opt/homebrew/bin/nvim )
end
end
end

0 comments on commit 5feac52

Please sign in to comment.