Skip to content

Commit

Permalink
pkg: Fix fish shell completion paths
Browse files Browse the repository at this point in the history
  • Loading branch information
qzed committed Mar 14, 2024
1 parent 7589917 commit b5c78e8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkg/deb/debian/rules
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ override_dh_install:
# completion files
install -D -m644 "target/surface.bash" "${pkgdir}/usr/share/bash-completion/completions/surface"
install -D -m644 "target/_surface" "${pkgdir}/usr/share/zsh/vendor-completions/_surface"
install -D -m644 "target/surface.fish" "${pkgdir}/usr/share/fish/completions/surface.fish"
install -D -m644 "target/surface.fish" "${pkgdir}/usr/share/fish/vendor_completions.d/surface.fish"

%:
dh $@
2 changes: 1 addition & 1 deletion pkg/fedora/surface-control.spec
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ rm -rf %{buildroot}
install -D -m755 "surface-control/target/release/surface" "%{buildroot}/usr/bin/surface"
install -D -m644 "surface-control/target/surface.bash" "%{buildroot}/usr/share/bash-completion/completions/surface"
install -D -m644 "surface-control/target/_surface" "%{buildroot}/usr/share/zsh/site-functions/_surface"
install -D -m644 "surface-control/target/surface.fish" "%{buildroot}/usr/share/fish/completions/surface.fish"
install -D -m644 "surface-control/target/surface.fish" "%{buildroot}/usr/share/fish/vendor_completions.d/surface.fish"

%pre
%sysusers_create_package %{name} "surface-control/etc/sysusers/surface-control.conf"
Expand Down

0 comments on commit b5c78e8

Please sign in to comment.