mirror of
https://github.com/Zedfrigg/ironbar.git
synced 2025-08-17 06:41:03 +02:00
feat: add shell completions
Auto-generated with clap.
This commit is contained in:
parent
df55cdfa9f
commit
4381fd505d
6 changed files with 100 additions and 3 deletions
|
@ -20,6 +20,7 @@
|
|||
luajit,
|
||||
luajitPackages,
|
||||
pkg-config,
|
||||
installShellFiles,
|
||||
adwaita-icon-theme,
|
||||
hicolor-icon-theme,
|
||||
rustPlatform,
|
||||
|
@ -45,6 +46,7 @@
|
|||
pkg-config
|
||||
wrapGAppsHook
|
||||
gobject-introspection
|
||||
installShellFiles
|
||||
];
|
||||
|
||||
buildInputs = [
|
||||
|
@ -89,6 +91,13 @@
|
|||
)
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
installShellCompletion --cmd ironbar \
|
||||
--bash target/completions/ironbar.bash \
|
||||
--fish target/completions/ironbar.fish \
|
||||
--zsh target/completions/_ironbar
|
||||
'';
|
||||
|
||||
passthru = {
|
||||
updateScript = gnome.updateScript {
|
||||
packageName = pname;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue