X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=etc%2Fskel%2F.zshrc;h=a090111d8fcf94c5f9e1149928f11f0b7577456a;hb=9d8805145f33ab856da715b31cbf66a97ec9e0d1;hp=a1f542394891281762f1146c93779b57304d4ed7;hpb=c2575a46e38c229c6b2149a5650c93b0d7920a62;p=grml-etc-core.git 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'