diff options
author | Axel Beckert <abe@deuxchevaux.org> | 2014-05-22 13:35:26 +0200 |
---|---|---|
committer | Axel Beckert <abe@deuxchevaux.org> | 2014-05-22 13:36:09 +0200 |
commit | 53e4180a0860729cead7ed650b72e7ed180ca2d4 (patch) | |
tree | df9fb9fa127f0418a374892e90f179673443a699 | |
parent | 5ac620f453784b5ff4fa1a377ec7313079595b2c (diff) | |
download | zsh-53e4180a0860729cead7ed650b72e7ed180ca2d4.tar.gz zsh-53e4180a0860729cead7ed650b72e7ed180ca2d4.zip |
Add bug scripts to list packages could interfere with zsh's behaviour
The same script is placed into the packages zsh, zsh-common and
zsh-static -- which are the common binary packages against which
behavioural issues are reported.
l--------- | debian/zsh-common.bug-script | 1 | ||||
l--------- | debian/zsh-static.bug-script | 1 | ||||
-rwxr-xr-x | debian/zsh.bug-script | 19 |
3 files changed, 21 insertions, 0 deletions
diff --git a/debian/zsh-common.bug-script b/debian/zsh-common.bug-script new file mode 120000 index 000000000..d7d77480d --- /dev/null +++ b/debian/zsh-common.bug-script @@ -0,0 +1 @@ +zsh.bug-script
\ No newline at end of file diff --git a/debian/zsh-static.bug-script b/debian/zsh-static.bug-script new file mode 120000 index 000000000..d7d77480d --- /dev/null +++ b/debian/zsh-static.bug-script @@ -0,0 +1 @@ +zsh.bug-script
\ No newline at end of file diff --git a/debian/zsh.bug-script b/debian/zsh.bug-script new file mode 100755 index 000000000..026625c85 --- /dev/null +++ b/debian/zsh.bug-script @@ -0,0 +1,19 @@ +#!/bin/sh + +if [ -x /usr/bin/aptitude ]; then + echo "*** Packages which depend, recommend, suggest or enhance a zsh package and hence may provide code meant to be sourced in .zshrc ***" + aptitude -q search '( ?enhances(?name(^zsh)) | ?depends(?name(^zsh)) | ?recommends(?name(^zsh)) | ?suggests(?name(^zsh)) ) !?source-package(^zsh$) ~i' +else + echo "*** Packages which provide code meant to be sourced in .zshrc ***" + # Hardcoded list of (future) packages containing code meant to be + # sourced in .zshrc + dpkg-query -l fizsh oh-my-zsh zsh-antigen autojump zec 'grml-*' +fi + +echo "" +echo "*** Packages which provide vendor completions ***" +dpkg-query -S /usr/share/zsh/vendor-completions/ | awk -F: '{print $1}' | sed -e 's/,//g' | xargs -r dpkg-query -l + +echo "" +echo "*** Packages which provide vendor functions ***" +dpkg-query -S /usr/share/zsh/vendor-functions/ | awk -F: '{print $1}' | sed -e 's/,//g' | xargs -r dpkg-query -l |