5 Commits
Author SHA1 Message Date
Lucius Hu 086dfc7d32 completions: Minor fix on comments
It was wrongly described as `Software Updater - autocompletion script`, and it's changed to
`Kernel & Boot Loader Management - autocompletion script`.
2019-07-30 07:06:25 -07:00
Lucius Hu 3aedb7d42f Fixup typo in meson.build for shell completions 2019-07-29 11:49:42 -07:00
Lucius Hu 145014d5ea Edited meson.build for shell completion template 2019-07-29 11:49:42 -07:00
Lucius Hu a2c802d6e9 completions: multiple improvement
- `bash` completion now has completions for sub-commands. Notably,
  for `set-kernel` sub-command, it list all kernels installed in
  kernel directory. If `--path` is present, it will prepend its
  argument before the kernel directory.
- Both `bash` and `zsh` completions are turned into templates, which have
  two special variables, `@KERNEL_DIRECTORY@` and `@KERNEL_NAMESPACE@`.
  On current Clear Linux, their default values are `/usr/lib/kernel` and
  `org.clearlinux`
- `meson.build` file is modified and will replace kernel namespace and
  kernel directory in completions.
2019-07-29 11:49:42 -07:00
William Douglas f742b600df Enable completions to be installed
Add meson integration for the completions files.
2019-07-22 21:45:40 -07:00