Shohei YOSHIDA
7494992bab
Refactoring udisksctl completion
...
- Apply formatting
- Use local variables instead of global variables
- Fix typos
- Update project URL
2023-08-24 17:45:42 +09:00
Dimitris Apostolou
0fd25cda7a
Fix typos
2021-11-12 23:56:34 +02:00
Hannu Hartikainen
19a412373f
udisksctl: fix paths with a colon
...
For paths such as `/dev/disk/by-id/usb-JetFlash_Transcend_64GB_15AFGA849642-0:0`, `_describe` parses the colon as field separator. This results in wrong completions and the general feeling that udisksctl is broken because it won't mount my pendrive.
Since the output of `udisksctl complete` is (apparently) just a list of paths, it's safe to escape all colons with a backslash.
2021-01-18 10:13:44 +00:00
Dimitris Apostolou
9e9bee7066
Fix typos
2020-04-09 11:51:09 +03:00
Oliver Kiddle
538f2a0287
follow normal zsh case conventions in some functions
2017-10-28 00:23:07 +02:00
Ole Jørgen Brønner
3ae23b8996
udisksctl: Add some notes about the upstream bash completions
2016-12-27 07:53:50 +01:00
Ole Jørgen Brønner
688562c987
udisksctl: Change license to MIT
...
Fits in a header, less restrictive etc.
See https://github.com/zsh-users/zsh-completions/pull/483
2016-12-27 07:53:36 +01:00
Ole Jørgen Brønner
bb32e9eb90
udisksctl: add new/missing command
2016-12-27 07:25:40 +01:00
Ole Jørgen Brønner
01760c8d21
Completion for 'udisksctl'
...
Salvaged from rejected/ignored patch to upstream by Damir Jelić (poljar) [1].
License is assumed to be gpl2 since it was submitted as a patch to udisks [2].
I tried contacting poljar, but the email address is no longer active.
[1] https://lists.freedesktop.org/archives/devkit-devel/2014-February/001554.html
[2] https://cgit.freedesktop.org/udisks/tree/tools
2016-12-25 08:30:44 +01:00