From b72d908b1b136820a113c2a01da79393cf331678 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Fri, 13 Apr 2007 18:01:18 +0200 Subject: [PATCH] /etc/skel/.zshrc: added alias mq --- debian/changelog | 2 ++ etc/skel/.zshrc | 5 ++++- etc/zsh/zshrc | 2 +- 3 files changed, 7 insertions(+), 2 deletions(-) diff --git a/debian/changelog b/debian/changelog index 696460b..0cb4e57 100644 --- a/debian/changelog +++ b/debian/changelog @@ -4,6 +4,8 @@ grml-etc-core (0.2.43) unstable; urgency=low - applied patch by ft for generic file completion (thanks!) - added function sll (list symlinks in more details), thanks for the code base, Manuel Fuhr and ft! + * /etc/skel/.zshrc: added alias mq (execute commands on the + versioned patch-queue from the current repos) [thanks, gebi] -- Michael Prokop Fri, 13 Apr 2007 17:35:15 +0200 diff --git a/etc/skel/.zshrc b/etc/skel/.zshrc index 28b878b..d772041 100644 --- a/etc/skel/.zshrc +++ b/etc/skel/.zshrc @@ -3,7 +3,7 @@ # Authors: grml-team (grml.org), (c) Michael Prokop # Bug-Reports: see http://grml.org/bugs/ # License: This file is licensed under the GPL v2. -# Latest change: Son Mär 11 12:44:51 CET 2007 [mika] +# Latest change: Fre Apr 13 18:00:42 CEST 2007 [mika] ################################################################################ # source ~/.zshrc.global {{{ @@ -827,6 +827,9 @@ # build debian package alias hbp='hg-buildpackage' + # execute commands on the versioned patch-queue from the current repos + alias mq='hg -R $(readlink -f $(hg root)/.hg/patches)' + # diffstat for specific version of a mercurial repository # hgstat => display diffstat between last revision and tip # hgstat 1234 => display diffstat between revision 1234 and tip diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index ee7688f..a4adfdd 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -976,7 +976,7 @@ If you want to use xinit anyway please call \"/usr/bin/xinit\"." # list symlinks in detail (more detailed version of 'readlink -f' and 'whence -s') sll() { - [ -z "$1" ] && printf 'Usage: %s \n' "$0" && return 1 + [ -z "$1" ] && printf 'Usage: %s \n' "$0" && return 1 for i in "$@" ; do file=$i while [ -h "$file" ] ; do -- 2.1.4