From 980513c3802a2a630665c8893965c768ed8c657d Mon Sep 17 00:00:00 2001 From: Marc LeBlanc <7050295+marcleblanc2@users.noreply.github.com> Date: Sat, 22 Aug 2026 14:31:07 -0600 Subject: [PATCH] Makefile - Use resolved config dir in remove-local target The %/build target installs local plugins to the config directory resolved by cmd/contrib/scripts/config_dir_getter.go, but the %/remove-local target hardcoded the legacy ~/.op path. On machines using a newer config location (e.g. ~/.config/op), remove-local silently deleted nothing. Use the same plugins_dir variable as the build target. Amp-Thread-ID: https://ampcode.com/threads/T-01a02ae6-d30c-77eb-a4f8-de0711282a78 Co-authored-by: Amp --- Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 2948a8197..5f042e1cc 100644 --- a/Makefile +++ b/Makefile @@ -48,4 +48,4 @@ lint: %/remove-local: beta-notice $(eval plugin := $(firstword $(subst /, ,$@))) - rm -f ~/.op/plugins/local/$(plugin) + rm -f $(plugins_dir)/$(plugin)