X-Git-Url: https://git.grml.org/?a=blobdiff_plain;f=etc%2Fzsh%2Fzshrc;h=7e74bfcfd1f41a1e58aa9f486deb9c8078df00a4;hb=575c92ff4335c1fb35a8dc4995ff12e298058eee;hp=9f5b88ef568bbaf8e240f8536e3714963437b1dd;hpb=37cafe9ce9405294771399dd8d81f1e97d70e791;p=grml-etc-core.git diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index 9f5b88e..7e74bfc 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -3,7 +3,7 @@ # Authors: grml-team (grml.org), (c) Michael Prokop # Bug-Reports: see http://grml.org/bugs/ # License: This file is licensed under the GPL v2. -# Latest change: Son Apr 22 18:37:24 CEST 2007 [mika] +# Latest change: Son Apr 29 13:16:44 CEST 2007 [mika] ################################################################################ # This file is sourced only for interactive shells. It # should contain commands to set up aliases, functions, @@ -624,6 +624,7 @@ ${BLUE}%n${NO_COLOUR}@%m %40<...<%B%~%b%<< %# " unsetopt prompt_cr export PS1="%m%# " nice -n -20 speechd-up + sleep 2 flite -o play -t "Finished setting up software synthesizer" fi ' @@ -1150,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 "$@"