Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#74153 - zsh: autocompletion for "losetup" command is incomplete

Attached to Project: Arch Linux
Opened by Joey Joey (jroovy-11904) - Friday, 18 March 2022, 03:46 GMT
Last edited by Morten Linderud (Foxboron) - Tuesday, 23 August 2022, 17:37 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To David Runge (dvzrv)
Morten Linderud (Foxboron)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:
Trying to mount a raw disk image using losetup results in it not accepting a file as parameter

Additional info:
zsh 5.8.1-1
grml-zsh-config 0.19.1-1

Steps to reproduce:
1) Open a zsh shell
2) Try to mount a raw disk image using losetup

In my case, the command was:
% sudo losetup -P /dev/loop1 rawdisk.img

3) Trying to Tab autocomplete when typing "rawdisk.img" results in it saying "no more arguments"


Like this:

archie@archiso ~ % ls -l
total 0
drwxr-xr-x 2 archie archie 45 Feb 21 15:13 Desktop
-rw-r--r-- 1 archie archie 33554432 Mar 18 03:29 rawdisk.img
archie@archiso ~ % sudo losetup -f
/dev/loop1
archie@archiso ~ % sudo losetup -P /dev/loop1 raw
no more arguments
This task depends upon

Closed by  Morten Linderud (Foxboron)
Tuesday, 23 August 2022, 17:37 GMT
Reason for closing:  Upstream
Comment by Morten Linderud (Foxboron) - Tuesday, 23 August 2022, 17:37 GMT

Loading...