← Back to team overview

ocaml-maint team mailing list archive

[Bug 1243031] Re: Unison command line autocompletion is broken

 

It seems to be a problem with bash-completion which does not pick up
unison's completion script as it is in a subdirectory of
/etc/bash_completion.d/ . I can't really say whether this is a bug in
/usr/share/bash-completion/bash_completion (which implements the
compatibility calls to /etc/bash_completion.d/ ) or whether unison is
wrong in installing its scripts into subdirectories.

Furthermore, unison only sets up completion to the very program (i.e.
currently unison-2.40.102 ) instead of to whatever the default is. I
think this should also be fixed.

-- 
You received this bug notification because you are a member of Debian
OCaml Maintainers, which is subscribed to unison in Ubuntu.
https://bugs.launchpad.net/bugs/1243031

Title:
  Unison command line autocompletion is broken

Status in “unison” package in Ubuntu:
  Confirmed

Bug description:
  Fresh install of KUbuntu 13.10 (it was the same on KUbuntu 13.04),
  package 2.40.102-2ubuntu1

  In a terminal, typing unison then followed by tab is expected to
  display a list of the available unison profiles ( *.prf files, either
  located in the current directory or in ~/.unison ). Instead of that
  unison no specific autocomplete.

  However a specific directory containing a configuration has been
  created by the package (
  /etc/bash_completion.d/unison/unison.completion.bash ).

  I was able to have autocomplete working using the content provided
  here: http://info.comodo.priv.at/oldblog/articles/unison_completion/

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unison/+bug/1243031/+subscriptions


References