summary refs log tree commit diff
diff options
context:
space:
mode:
authorEfraim Flashner <efraim@flashner.co.il>2023-02-15 11:26:49 +0200
committerEfraim Flashner <efraim@flashner.co.il>2023-02-15 13:05:33 +0200
commitb4d2670771b8c2b9c4aedbef0371f1d23197d209 (patch)
tree77700dcc2b5eb749d308704b58c8be09c9a8e3d6
parent06d45a82397fb19479b4cdde0372afb541d579c1 (diff)
downloadguix-b4d2670771b8c2b9c4aedbef0371f1d23197d209.tar.gz
gnu: alacritty: Adjust bash completions.
* gnu/packages/terminals.scm (alacritty)[arguments]: Adjust custom
'install phase to install the bash completion script with the correct
name.
-rw-r--r--gnu/packages/terminals.scm5
1 files changed, 3 insertions, 2 deletions
diff --git a/gnu/packages/terminals.scm b/gnu/packages/terminals.scm
index cca3210bec..3877fbc4c8 100644
--- a/gnu/packages/terminals.scm
+++ b/gnu/packages/terminals.scm
@@ -1543,8 +1543,9 @@ basic input/output.")
                        "-o" (string-append share "/terminfo/")
                        "extra/alacritty.info")
                ;; Install completions.
-               (install-file "extra/completions/alacritty.bash"
-                             (string-append out "/etc/bash_completion.d"))
+               (mkdir-p (string-append out "/etc/bash_completion.d"))
+               (copy-file "extra/completions/alacritty.bash"
+                          (string-append out "/etc/bash_completion.d/alacritty"))
                (install-file "extra/completions/_alacritty"
                              (string-append share "/zsh/site-functions"))
                (install-file "extra/completions/alacritty.fish"