From b55cf4872f4553ae4a3a28f34123e4b5c786392e Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Tue, 7 Aug 2012 14:43:24 +0200 Subject: [PATCH] zsh/rc: Fix indentation. --- zsh/rc | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/zsh/rc b/zsh/rc index a1acba5..779d0dd 100644 --- a/zsh/rc +++ b/zsh/rc @@ -713,7 +713,7 @@ source_config ~/.zsh/rc.local if [[ $TERM != dumb && $TERM != linux && -z $STY && -z $TMUX ]]; then # Get running detached sessions. if [[ -z $use_tmux ]]; then - session=$(screen -list | grep 'Detached' | awk '{ print $1; exit }') + session=$(screen -list | grep 'Detached' | awk '{ print $1; exit }') else session=$(tmux list-sessions 2>/dev/null \ | sed '/(attached)$/ d; s/^\([0-9]\{1,\}\).*$/\1/; q') @@ -721,7 +721,7 @@ if [[ $TERM != dumb && $TERM != linux && -z $STY && -z $TMUX ]]; then # As we exec later we have to set the title here. if [[ -z $use_tmux ]]; then - window_preexec "screen" + window_preexec "screen" else window_preexec "tmux" fi @@ -729,14 +729,14 @@ if [[ $TERM != dumb && $TERM != linux && -z $STY && -z $TMUX ]]; then # Create a new session if none is running. if [[ -z $session ]]; then if [[ -z $use_tmux ]]; then - exec screen + exec screen else exec tmux fi # Reattach to a running session. else if [[ -z $use_tmux ]]; then - exec screen -r $session + exec screen -r $session else exec tmux attach-session -t $session fi -- 2.45.2