From 9d8805145f33ab856da715b31cbf66a97ec9e0d1 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Sat, 28 Oct 2006 10:56:42 +0200 Subject: [PATCH] /etc/skel/.zshrc: always set 'setopt local_options' if using 'setopt errreturn'. --- debian/changelog | 7 +++++++ etc/skel/.zshrc | 5 +++++ 2 files changed, 12 insertions(+) diff --git a/debian/changelog b/debian/changelog index fd50aa2..a219fcc 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +grml-etc-core (0.1-28) unstable; urgency=low + + * /etc/skel/.zshrc: always set 'setopt local_options' if + using 'setopt errreturn'. + + -- Michael Prokop Fri, 27 Oct 2006 11:55:54 +0200 + grml-etc-core (0.1-27) unstable; urgency=low * /etc/grml/screenrc*: set shell to /bin/zsh instead of zsh, diff --git a/etc/skel/.zshrc b/etc/skel/.zshrc index a1f5423..a090111 100644 --- a/etc/skel/.zshrc +++ b/etc/skel/.zshrc @@ -693,6 +693,7 @@ # get x-lite voip software getxlite() { + setopt local_options setopt errreturn [ -d ~/tmp ] || mkdir ~/tmp cd ~/tmp @@ -709,6 +710,7 @@ # get skype getskype() { + setopt local_options setopt errreturn echo "Downloading debian package of skype." echo "Notice: If you want to use a more recent skype version run 'getskypebeta'." @@ -718,6 +720,7 @@ # get beta-version of skype getskypebeta() { + setopt local_options setopt errreturn echo "Downloading debian package of skype (beta version)." wget http://www.skype.com/go/getskype-linux-beta-deb @@ -726,6 +729,7 @@ # get gzimo (voicp software) getgizmo() { + setopt local_options setopt errreturn echo "gconf2-common and libgconf2-4 have to be available. Installing therefor." $SUDO apt-get update @@ -736,6 +740,7 @@ # get AIR - Automated Image and Restore getair() { + setopt local_options setopt errreturn [ -w . ] || { echo 'Error: you do not have write permissions in this directory. Exiting.' ; return 1 } local VER='1.2.8' -- 2.1.4