X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=etc%2Fzsh%2Fzshrc;h=7e74bfcfd1f41a1e58aa9f486deb9c8078df00a4;hb=refs%2Ftags%2F0.2.51;hp=81ffee7c4bcb8c83febd9b2a7358d5c781b95062;hpb=aab473e1999f134324609c703d76d59f06fb8933;p=grml-etc-core.git diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index 81ffee7..7e74bfc 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -1151,6 +1151,17 @@ If you want to use xinit anyway please call \"/usr/bin/xinit\"." } functions peval &>/dev/null && alias calc=peval + # brltty seems to have problems with utf8 environment and/or font Uni3-Terminus16 under + # certain circumstances, so work around it, no matter which environment we have + brltty() { + if [ -z "$DISPLAY" ] ; then + consolechars -f /usr/share/consolefonts/default8x16.psf.gz + command brltty "$@" + else + command brltty "$@" + fi + } + # Switching shell safely and efficiently? http://www.zsh.org/mla/workers/2001/msg02410.html # bash() { # NO_SWITCH="yes" command bash "$@"