Project

General

Profile

Bug #20177

Auto complete no longer working on OSX with lar command?

Added by Tracy Usher almost 2 years ago. Updated over 1 year ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
06/15/2018
Due date:
% Done:

100%

Estimated time:
2.00 h
Spent time:
Duration:

Description

It seems auto complete is no longer functioning on OSX (High Sierra) with larsoft v06_80_00 (meaning I have to type the complete fcl or data file name when running lar, or copy/paste). Would be nice if this could be restored. If I understand correctly, this is the release that includes the new version of art.

History

#1 Updated by Kyle Knoepfel almost 2 years ago

  • Project changed from LArSoft to cetbuildtools
  • Status changed from New to Assigned
  • Assignee set to Kyle Knoepfel
  • Estimated time set to 2.00 h
  • Experiment deleted (ICARUS)

This has to do with an awkward interaction between macOS's support for bash completions and the new art command-line completion facilities. We will investigate to see if a solution is possible. It may be that art's new program-option completion facilities will need to be disabled for macOS, thus restoring the behavior you expect.

#2 Updated by Kyle Knoepfel almost 2 years ago

A workaround for now is to type the command after art setup:

complete -r lar
lar -c <config> <TAB...>

#3 Updated by Kyle Knoepfel almost 2 years ago

  • Status changed from Assigned to Resolved
  • Target version set to 1683
  • % Done changed from 0 to 100

Bug fix implemented with commit cetbuildtools:80cca2f.

#4 Updated by Kyle Knoepfel over 1 year ago

  • Target version changed from 1683 to 3.01.00

#5 Updated by Kyle Knoepfel over 1 year ago

  • Status changed from Resolved to Closed


Also available in: Atom PDF