Skip to content

fix: update uninstall command to use remote-uninstall script and clarify messaging #12

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 3, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -164,9 +164,9 @@ install-global: ## Install global 'lazy' commands to use from anywhere
@echo "$(BLUE)Installing LazyVim Docker global commands...$(NC)"
@./scripts/install-global-commands.sh

uninstall:
@echo "$(BLUE)Uninstalling LazyVim Docker...$(NC)"
@./scripts/uninstall-global-commands.sh
uninstall: ## Complete uninstall - removes everything (same as curl method)
@echo "$(BLUE)Running complete LazyVim Docker uninstall...$(NC)"
@./scripts/remote-uninstall.sh

install-remote:
@echo "$(BLUE)LazyVim Docker - Remote Installation$(NC)"
Expand Down
14 changes: 7 additions & 7 deletions scripts/install-global-commands.sh
100644 → 100755
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ echo " lazy status -> make status"
echo " lazy build -> make build"
echo " lazy health -> make health"
echo " lazy help -> make help"
echo " lazy uninstall -> Complete uninstall"
echo " lazy uninstall -> Complete removal (same as curl method)"
echo ""

# Check if we're in the correct directory
Expand Down Expand Up @@ -101,7 +101,7 @@ lazy() {
echo " backup Backup configurations"
echo " version Show version"
echo " configure Reconfigure directories and timezone"
echo " uninstall Remove global commands"
echo " uninstall Complete removal (same as curl method)"
echo ""
echo "Examples:"
echo " lazy enter # Enter LazyVim from anywhere"
Expand All @@ -118,8 +118,8 @@ lazy() {
(cd "\$lazyvim_docker_path" && make "\$cmd" "\$@")
;;
uninstall)
echo "🗑️ Running uninstaller..."
(cd "\$lazyvim_docker_path" && ./scripts/uninstall-global-commands.sh)
echo "🗑️ Running complete uninstaller..."
(cd "\$lazyvim_docker_path" && ./scripts/remote-uninstall.sh)
;;
*)
echo "❌ Unknown command: \$cmd"
Expand Down Expand Up @@ -190,7 +190,7 @@ lazy() {
echo " backup Backup configurations"
echo " version Show version"
echo " configure Reconfigure directories and timezone"
echo " uninstall Remove global commands"
echo " uninstall Complete removal (same as curl method)"
echo ""
echo "Examples:"
echo " lazy enter # Enter LazyVim from anywhere"
Expand All @@ -207,8 +207,8 @@ lazy() {
(cd "\$lazyvim_docker_path" && make "\$cmd" "\$@")
;;
uninstall)
echo "🗑️ Running uninstaller..."
(cd "\$lazyvim_docker_path" && ./scripts/uninstall-global-commands.sh)
echo "🗑️ Running complete uninstaller..."
(cd "\$lazyvim_docker_path" && ./scripts/remote-uninstall.sh)
;;
*)
echo "❌ Unknown command: \$cmd"
Expand Down