Control: tag -1 moreinfo On Wed, 22 Jan 2020 at 22:31:49 +0100, Christoph Anton Mitterer wrote: > Instead of possible device target names it just completes to > the files of the local directories.
Works fine here, also as non-root. In a sid chroot:
~$ dd if=/dev/zero of=/tmp/disk.img bs=1M count=64 status=none
~$ /sbin/cryptsetup luksFormat /tmp/disk.img --pbkdf-force-iterations 4
--pbkdf-memory 32 <<<foo
~$ export TABFILE=/tmp/crypttab
~$ echo test_crypt /tmp/crypt.img none luks >>"$TABFILE"
~$ . /usr/share/bash-completion/completions/cryptdisks
~$ /usr/sbin/cryptdisks_start <TAB>
-- --readonly -r test_crypt
~$ /usr/sbin/cryptdisks_stop <TAB>
Did you source /usr/share/bash-completion/completions/cryptdisks? Is
the TABFILE environment variable set to something else than your normal
crypttab(5)?
--
Guilhem.
signature.asc
Description: PGP signature

