aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorYixun Lan <[email protected]>2024-04-19 13:39:55 -0400
committerMihai Fufezan <[email protected]>2024-04-19 21:09:10 +0300
commit1016faea53fd2d6a9bc12340425230b84676d7cd (patch)
treeaeda1a54d7236719f0f31551a7f0eb3f73f6a846
parentdd39cd7e420750ac832e1c3e51fac87c16ae8ea3 (diff)
downloadHyprland-1016faea53fd2d6a9bc12340425230b84676d7cd.tar.gz
Hyprland-1016faea53fd2d6a9bc12340425230b84676d7cd.zip
misc: fix autocompletions for meson (hyprctl/hyprpm)
Signed-off-by: Julien Roy <[email protected]>
-rw-r--r--hyprctl/meson.build2
-rw-r--r--hyprpm/src/meson.build2
2 files changed, 2 insertions, 2 deletions
diff --git a/hyprctl/meson.build b/hyprctl/meson.build
index 390baf66..94e98b4b 100644
--- a/hyprctl/meson.build
+++ b/hyprctl/meson.build
@@ -2,6 +2,6 @@ executable('hyprctl', 'main.cpp',
install: true
)
-install_data('hyprctl.bash', install_dir: join_paths(get_option('datadir'), 'bash-completion'), install_tag: 'runtime', rename: 'hyprctl')
+install_data('hyprctl.bash', install_dir: join_paths(get_option('datadir'), 'bash-completion/completions'), install_tag: 'runtime', rename: 'hyprctl')
install_data('hyprctl.fish', install_dir: join_paths(get_option('datadir'), 'fish/vendor_completions.d'), install_tag: 'runtime')
install_data('hyprctl.zsh', install_dir: join_paths(get_option('datadir'), 'zsh/site-functions'), install_tag: 'runtime', rename: '_hyprctl')
diff --git a/hyprpm/src/meson.build b/hyprpm/src/meson.build
index 9ecdaa0c..a8644169 100644
--- a/hyprpm/src/meson.build
+++ b/hyprpm/src/meson.build
@@ -9,6 +9,6 @@ executable('hyprpm', src,
install : true
)
-install_data('../hyprpm.bash', install_dir: join_paths(get_option('datadir'), 'bash-completion'), install_tag: 'runtime', rename: 'hyprpm')
+install_data('../hyprpm.bash', install_dir: join_paths(get_option('datadir'), 'bash-completion/completions'), install_tag: 'runtime', rename: 'hyprpm')
install_data('../hyprpm.fish', install_dir: join_paths(get_option('datadir'), 'fish/vendor_completions.d'), install_tag: 'runtime')
install_data('../hyprpm.zsh', install_dir: join_paths(get_option('datadir'), 'zsh/site-functions'), install_tag: 'runtime', rename: '_hyprpm')