X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=etc%2Fskel%2F.zshrc;h=1e4dc02f97922bc2ba0cf0f8628a1f4ec98387f3;hb=refs%2Ftags%2F0.3.11;hp=10f900e0c5c59c98a5dc9298306bb50b3579c50a;hpb=ff188f766824a9d383191b608a402318bdb3b64d;p=grml-etc-core.git diff --git a/etc/skel/.zshrc b/etc/skel/.zshrc index 10f900e..1e4dc02 100644 --- a/etc/skel/.zshrc +++ b/etc/skel/.zshrc @@ -24,6 +24,7 @@ # autoloading stuff {{{ # associate types and extensions (be aware with perl scripts and anwanted behaviour!) # type zsh-mime-setup &>/dev/null || { autoload zsh-mime-setup && zsh-mime-setup } +# alias -s pl='perl -S' # }}} # completion system {{{ @@ -856,7 +857,7 @@ mkmaildir() { local root subdir root=${MAILDIR_ROOT:-${HOME}/Mail} - if [[ -z ${1} ]] ; then print "Usage\n $0 " ; fi + if [[ -z ${1} ]] ; then print "Usage:\n $0 " ; return 1 ; fi subdir=${1} mkdir -p ${root}/${subdir}/{cur,new,tmp} }