From 2c96f7708cecf5f7eebf8e3349eb8f2a8eee1694 Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Mon, 15 Apr 2013 21:58:25 +0200 Subject: [PATCH] zsh/rc: Minor cleanup. --- zsh/rc | 18 ++++++++---------- 1 file changed, 8 insertions(+), 10 deletions(-) diff --git a/zsh/rc b/zsh/rc index be0b9a2..5cad9c8 100644 --- a/zsh/rc +++ b/zsh/rc @@ -16,7 +16,7 @@ # along with this file. If not, see . -source_debug ". ~/.zsh/rc" +source_debug '. ~/.zsh/rc' # HELPER FUNCTIONS @@ -806,10 +806,8 @@ fi if [[ $OSTYPE == linux* ]]; then # Settings when creating Debian packages. - DEBEMAIL=simon@ruderich.org - export DEBEMAIL - DEBFULLNAME='Simon Ruderich' - export DEBFULLNAME + export DEBEMAIL=simon@ruderich.org + export DEBFULLNAME='Simon Ruderich' fi @@ -838,9 +836,9 @@ if [[ $TERM != dumb && $TERM != linux && -z $STY && -z $TMUX ]]; then # As we exec later we have to set the title here. if [[ $use_multiplexer = screen ]]; then - window_preexec "screen" + window_preexec screen elif [[ $use_multiplexer = tmux ]]; then - window_preexec "tmux" + window_preexec tmux fi # Create a new session if none is running. @@ -870,8 +868,8 @@ fi # Moved in the "run commands" section to prevent one unnecessary zsh process # when starting GNU screen/tmux (see above). exec 2>>(while read -r -k -u 0 line; do - printf '\e[91m%s\e[0m' "$line"; - print -n $'\0'; + printf '\e[91m%s\e[0m' "$line" + print -n $'\0' done &) # Run the following programs every 4 hours (and when zsh starts). @@ -884,6 +882,6 @@ periodic() { } -source_debug ". ~/.zsh/rc (done)" +source_debug '. ~/.zsh/rc (done)' # vim: ft=zsh -- 2.44.2