X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=etc%2Fskel%2F.zshrc;h=1a51fa1de10239a130c720d990bc59e78838dba5;hb=77190bf26c5ea55cfc3d4f7da080806cf022e70d;hp=e8b85db647ad288b54ee25b17d8a768ca65d2f40;hpb=bd241715e6d04937428a38a8a4002f3010f7279b;p=grml-etc-core.git diff --git a/etc/skel/.zshrc b/etc/skel/.zshrc index e8b85db..1a51fa1 100644 --- a/etc/skel/.zshrc +++ b/etc/skel/.zshrc @@ -217,8 +217,10 @@ [ -d ~/.terminfo/ ] && alias man='TERMINFO=~/.terminfo/ LESS=C TERM=mostlike PAGER=less man' # check whether Debian's package management (dpkg) is running - #a2# Check whether a dpkg instance is currently running - type salias &>/dev/null && salias check_dpkg_running="dpkg_running" + if type salias &>/dev/null ; then + #a2# Check whether a dpkg instance is currently running + salias check_dpkg_running="dpkg_running" + fi # work around non utf8 capable software in utf environment if type isutfenv &>/dev/null ; then