From 1b19eb51a39fcbe09f8c27af8ce5ce0780c9882e Mon Sep 17 00:00:00 2001 From: David Backeus Date: Thu, 14 Mar 2024 16:44:32 +0100 Subject: [PATCH] Force enable autocomplete on rails consoles --- k | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/k b/k index 91e3530..4f22357 100755 --- a/k +++ b/k @@ -1020,7 +1020,7 @@ def console application = ARGV.delete_at(0) abort "Must pass name of application, eg. k console " unless application - system %(#{__dir__}/k run #{application} "EAGER_LOAD=false bin/rails console") + system %(#{__dir__}/k run #{application} "EAGER_LOAD=false IRB_USE_AUTOCOMPLETE=true bin/rails console") end def config