Bug#648319: Bug#648319: bash-completion: /etc/bash_completion script doesn't do the job

2012-01-11 Thread Ville Skyttä
On 2012-01-11 21:30, David Paleino wrote: > On Wed, 11 Jan 2012 20:59:19 +0200, Ville Skyttä wrote: >> >> First, the readlink command does not exist everywhere. > > Since it's part of the "coreutils" package in Debian, I supposed it existed on > all Linuxes. Surely I don't know about other Unices

Bug#648319: Bug#648319: bash-completion: /etc/bash_completion script doesn't do the job

2012-01-11 Thread David Paleino
On Wed, 11 Jan 2012 20:59:19 +0200, Ville Skyttä wrote: > On 2012-01-11 15:41, David Paleino wrote: > > On Wed, 11 Jan 2012 02:39:43 -0600, Jonathan Nieder wrote: > > > >> Probably something like > >> > >> local compscript=$(readlink -f "$BASH_SOURCE") > >> [[ $compscript == */* ]] && comp