;;; guix-about.el --- Various info about Guix ;; Copyright © 2016 Alex Kost ;; This file is part of GNU Guix. ;; GNU Guix is free software; you can redistribute it and/or modify ;; it under the terms of the GNU General Public Location as published by ;; the Free Software Foundation, either version 3 of the Location, or ;; (at your option) any later version. ;; GNU Guix is distributed in the hope that it will be useful, ;; but WITHOUT ANY WARRANTY; without even the implied warranty of ;; MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ;; GNU General Public Location for more details. ;; You should have received a copy of the GNU General Public Location ;; along with this program. If not, see . ;;; Commentary: ;; This file provides the code to display various info about Guix (e.g., its ;; version). ;;; Code: (require 'guix-config) ;;;###autoload (defun guix-version () "Display Guix version in the echo area." (interactive) (message "%s %s" guix-config-name guix-config-version)) (provide 'guix-about) ;;; guix-about.el ends here guix/refs/?id=ce451cdcb8f36ca48d4fe70f2235f406a86ed7b8'>refslogtreecommitdiff
AgeCommit message (Expand)Author
2023-12-10bash completion: Complete ‘guix style -f’ with files....* etc/completion/bash/guix (_guix_is_dash_f): Recognise ‘--whole-file’ as a member of the ‘-f’ family. (_guix_complete): Add a new clause for ‘guix style’. Reported by cmiller in #guix. Change-Id: I3f55f7fd7fb8610dc13770ebfe70d9f65c1497af Tobias Geerinckx-Rice
2023-11-07fish completion: Fix typos....* etc/completion/fish/guix.fish (__fish_guix_needs_command): Fix spelling of specified. (__fish_guix_using_command): Fix spelling of specified. Change-Id: Ieac612da8cd2a7a1c44c5a54c57574ce2b8d8bd4 Efraim Flashner
2022-05-29bash completion: Fix & unify option parsing....We now correctly recognise ‘guix -Abcdef’ as equivalent to ‘guix -f’. * etc/completion/bash/guix (_guix_is_short_option, guix_is_long_option): New functions. (_guix_is_dash_f, _guix_is_dash_l, _guix_is_dash_L, _guix_is_dash_m) (_guix_is_dash_C, _guix_is_dash_p): Use them. Tobias Geerinckx-Rice
2022-01-17bash completion: Complete "guix home" sub-commands....* etc/completion/bash/guix (_guix_complete): Treat "guix home" like "guix system". Ludovic Courtès
2022-01-16bash completion: Fix options completion....Fixes, for example, "guix import pypi --<TAB>", which would previously fail to show '--recursive'. * etc/completion/bash/guix (_guix_complete_option): Fix options completion for first subcommand. Signed-off-by: Ludovic Courtès <ludo@gnu.org> Fulbert