From 53e4180a0860729cead7ed650b72e7ed180ca2d4 Mon Sep 17 00:00:00 2001 From: Axel Beckert Date: Thu, 22 May 2014 13:35:26 +0200 Subject: 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. --- debian/zsh.bug-script | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100755 debian/zsh.bug-script (limited to 'debian/zsh.bug-script') 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 -- cgit v1.2.3