1
0
Fork 0
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:
Donovan Glover 2024-07-30 14:01:49 -04:00 committed by Jake Stanger
parent df55cdfa9f
commit 4381fd505d
No known key found for this signature in database
GPG key ID: C51FC8F9CB0BEA61
6 changed files with 100 additions and 3 deletions

View file

@ -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;