aboutsummaryrefslogtreecommitdiff
path: root/etc
diff options
context:
space:
mode:
Diffstat (limited to 'etc')
-rw-r--r--etc/completion/bash/guix12
-rw-r--r--etc/snippets/scheme-mode/guix-package4
-rw-r--r--etc/snippets/text-mode/guix-commit-message-use-https-home-page9
3 files changed, 24 insertions, 1 deletions
diff --git a/etc/completion/bash/guix b/etc/completion/bash/guix
index 70430c5c95..a593b8112c 100644
--- a/etc/completion/bash/guix
+++ b/etc/completion/bash/guix
@@ -167,6 +167,12 @@ _guix_complete ()
else
_guix_complete_available_package "$word_at_point"
fi
+ elif _guix_is_command "build"
+ then
+ if _guix_is_dash_L
+ then
+ _guix_complete_file
+ fi
elif _guix_is_command "download"
then
_guix_complete_file
@@ -189,6 +195,12 @@ _guix_complete ()
elif _guix_is_command "hash" || _guix_is_command "gc"
then
_guix_complete_file
+ elif _guix_is_command "weather"
+ then
+ if _guix_is_dash_m
+ then
+ _guix_complete_file
+ fi
else
_guix_complete_available_package "$word_at_point"
fi
diff --git a/etc/snippets/scheme-mode/guix-package b/etc/snippets/scheme-mode/guix-package
index d392e82093..48b87e3599 100644
--- a/etc/snippets/scheme-mode/guix-package
+++ b/etc/snippets/scheme-mode/guix-package
@@ -7,7 +7,8 @@
(name "$1")
(version "$2")
(source origin...$0)
- (build-system ${3:$$(yas-choose-value "ant-build-system"
+ (build-system ${3:$$(yas-choose-value "android-ndk-build-system"
+ "ant-build-system"
"asdf-build-system"
"cargo-build-system"
"cmake-build-system"
@@ -25,6 +26,7 @@
"python-build-system"
"r-build-system"
"ruby-build-system"
+ "scons-build-system"
"texlive-build-system"
"trivial-build-system"
"waf-build-system")})
diff --git a/etc/snippets/text-mode/guix-commit-message-use-https-home-page b/etc/snippets/text-mode/guix-commit-message-use-https-home-page
new file mode 100644
index 0000000000..df20d31a80
--- /dev/null
+++ b/etc/snippets/text-mode/guix-commit-message-use-https-home-page
@@ -0,0 +1,9 @@
+# -*- mode: snippet -*-
+# name: guix-commit-message-use-https-home-page
+# key: https
+# condition: git-commit-mode
+# --
+gnu: $1: Use HTTPS home page URI.
+
+* `(car (magit-staged-files))` ($1)[home-page]: Use HTTPS URI.
+`(mapconcat (lambda (file) (concat "* " file)) (cdr (magit-staged-files)) "\n")` \ No newline at end of file