Bash-completion is written with FHS in mind where completion scripts all get added to /usr/share/bash-completion/completions and are picked up by the dynamic completion loader from there---whether they are part of bash-completion or installed by another package. On Guix systems, we want not only to search within bash-completion's own directory, but also in the user's profile and in the system profile. This is what this patch does. --- a/bash_completion +++ b/bash_completion @@ -2016,7 +2016,13 @@ complete -F _minimal '' __load_completion() { - local -a dirs=( ${BASH_COMPLETION_USER_DIR:-${XDG_DATA_HOME:-$HOME/.local/share}/bash-completion}/completions ) + local -a dirs=( + "$HOME/.guix-profile/share/bash-completion/completions/$base" + "$HOME/.guix-profile/etc/bash_completion.d/$base" + "/run/current-system/profile/share/bash-completion/completions/$base" + "/run/current-system/profile/etc/bash_completion.d/$base" + ${BASH_COMPLETION_USER_DIR:-${XDG_DATA_HOME:-$HOME/.local/share}/bash-completion}/completions ) + local OIFS=$IFS IFS=: dir cmd="${1##*/}" compfile for dir in ${XDG_DATA_DIRS:-/usr/local/share:/usr/share}; do dirs+=( $dir/bash-completion/completions ) ckages/graphviz.scm?id=b8a6230df3fbbeeddb7a0e6976e0b8581bd0ab6e'>treecommitdiff
path: root/gnu/packages/graphviz.scm
AgeCommit message (Expand)Author
2018-09-21gnu: python-pydot: Update to 1.2.4....Tobias Geerinckx-Rice
2018-07-08gnu: python-graphviz: Update to 0.8.4....Tobias Geerinckx-Rice
2018-05-17Merge branch 'master' into core-updatesMark H Weaver
2018-05-17gnu: python-graphviz: Update to 0.8.3....Tobias Geerinckx-Rice
2018-04-10Merge branch 'master' into core-updatesMark H Weaver
2018-04-04gnu: Add dot2tex....Mathieu Lirzin
2018-03-29Merge branch 'master' into core-updatesMarius Bakke
2018-03-25gnu: python-graphviz: Update to 0.8.2....Tobias Geerinckx-Rice
2018-02-20gnu: gts: Update phase style....Tobias Geerinckx-Rice
2017-11-07gnu: Add python-pydot....Gábor Boskovits
2017-10-23gnu: python-graphviz: Update to 0.8.1....Tobias Geerinckx-Rice
2017-10-10gnu: Add python-graphviz....Ricardo Wurmus
2017-10-05Merge branch 'master' into stagingMarius Bakke
2017-10-03Update e-mail for Theodoros Foradis....Theodoros Foradis
2017-07-14gnu: graphviz: Update to 2.40.1....Arun Isaac
2017-07-14gnu: graphviz: Use modify-phases....Arun Isaac