Unison command line autocompletion is broken

Bug #1243031 reported by Francois Marot
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
unison (Ubuntu)
Confirmed
Undecided
Unassigned

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/

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in unison (Ubuntu):
status: New → Confirmed
Revision history for this message
timobaumann (timobaumann) wrote :

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.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.