假设我们在 bash 控制台中有这个输出:
$ findgrep RAILS_ENV
./script/munin_stats:7:RAILS_ENV = ENV['RAILS_ENV'] || "development"
./script/munin_stats:12: dbconfig = dbhash[RAILS_ENV]
./lib/tasks/juggernaut.rake:4: @rails_env = ENV["RAILS_ENV"] || "development"
./lib/tasks/cruise.rake:19: ENV['RAILS_ENV'] = 'test'
./lib/tasks/populate.rake:15: dumper = MysqlDumper.new(ActiveRecord::Base.configurations[RAILS_ENV])
./lib/tasks/populate.rake:21: dumper = MysqlDumper.new(ActiveRecord::Base.configurations[RAILS_ENV])
./lib/tasks/populate.rake:29: RAILS_ENV = "test"
如何在文件名(例如'./script/munin_stats:7')上创建可点击链接(例如Ctrl+click),它将在我最喜欢的编辑器中打开选定的文件?