[Pkg-zsh-commits] [zsh] 01/01: Add bug scripts to list packages could interfere with zsh's behaviour
Axel Beckert
abe at deuxchevaux.org
Thu May 22 11:40:33 UTC 2014
This is an automated email from the git hooks/post-receive script.
abe pushed a commit to branch debian
in repository zsh.
commit 53e4180a0860729cead7ed650b72e7ed180ca2d4
Author: Axel Beckert <abe at deuxchevaux.org>
Date: Thu May 22 13:35:26 2014 +0200
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-common.bug-script | 1 +
debian/zsh-static.bug-script | 1 +
debian/zsh.bug-script | 19 +++++++++++++++++++
3 files changed, 21 insertions(+)
diff --git a/debian/zsh-common.bug-script b/debian/zsh-common.bug-script
new file mode 120000
index 0000000..d7d7748
--- /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 0000000..d7d7748
--- /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 0000000..026625c
--- /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
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/zsh.git
More information about the Pkg-zsh-commits
mailing list