fix: use PICOCLAW_HOME for plugins directory

This commit is contained in:
Keith Patrick 2026-03-05 22:08:07 +00:00
parent 57d137b0c5
commit 9aba03e92c

View file

@ -75,8 +75,7 @@ Examples:
picoclaw plugins service status # Run 'service' plugin with 'status'`
func getPluginsDir() string {
home, _ := os.UserHomeDir()
return filepath.Join(home, ".picoclaw", pluginsDirName)
return filepath.Join(internal.GetPicoclawHome(), pluginsDirName)
}
func listPlugins() ([]string, error) {