From: Frank Terbeck Date: Tue, 29 Nov 2011 13:06:43 +0000 (+0100) Subject: zshrc: Remove limg X-Git-Tag: v0.5.0~53 X-Git-Url: http://git.grml.org/?p=grml-etc-core.git;a=commitdiff_plain;h=ce4346fd748ece868fd3abe3787e3b4612493e3a zshrc: Remove limg Signed-off-by: Frank Terbeck --- diff --git a/doc/grmlzshrc.t2t b/doc/grmlzshrc.t2t index c0781d3..a964a2d 100644 --- a/doc/grmlzshrc.t2t +++ b/doc/grmlzshrc.t2t @@ -656,10 +656,6 @@ Returns true, if run within an utf environment, else false. : **iwclient()** Searches a wireless interface and runs dhclient(8) on it. -: **limg()** -Lists images (i. e. files ending with ".jpg", ".gif" or ".png") in current -directory. - : **manzsh()** Shows the zshall manpage and jumps to the first match of the regular expression optionally given as argument (Needs qma(1)). diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index 1813b3d..0d8b290 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -2821,18 +2821,6 @@ sshot() { cd ~/shots ; sleep 5; import -window root shot_`date --iso-8601=m`.jpg } -# list images only -limg() { - local -a images - images=( *.{jpg,gif,png}(.N) ) - - if [[ $#images -eq 0 ]] ; then - print "No image files found" - else - ls "$images[@]" - fi -} - #f5# List files which have been accessed within the last {\it n} days, {\it n} defaults to 1 accessed() { emulate -L zsh