From 10e7121ef3a7318ce1e4a367aa1daf3da717158c Mon Sep 17 00:00:00 2001 From: 10sr <8slashes+git@gmail.com> Date: Sat, 1 Feb 2014 15:10:22 +0900 Subject: [PATCH] update info messages --- shrc | 23 +++++++++-------------- 1 file changed, 9 insertions(+), 14 deletions(-) diff --git a/shrc b/shrc index fb1d630..def6cf8 100755 --- a/shrc +++ b/shrc @@ -248,23 +248,23 @@ type fortune >/dev/null 2>&1 && { echo } uname -a -echo TERM $TERM $(tput colors) colors connected to $(tty), \ - running $BASH $BASH_VERSION +echo TERM $TERM with $(tput colors) colors using $(tty) if null type tmux then echo echo tmux sessions: - tmux ls + tmux ls 2>/dev/null| sed -e 's/^/ /g' echo fi -if test -n "$TMUX" -then - tmux display -p 'Using tmux #S:#I:#W.#P, client is #{client_termname}' \ - 2>/dev/null - echo -fi +# if test -n "$TMUX" +# then +# tmux display -p \ +# 'TMUX #S:#I:#W.#P, client TERM: #{client_termname}' \ +# 2>/dev/null +# echo +# fi ################################### # some aliases and functions @@ -675,11 +675,6 @@ tx(){ fi } -_tmux_prefs(){ - null type tmux || return 1 - tmux set -g mode-keys vi -} - dt(){ # dt [-h] [] [] __dtach_dir="${TMP}/dtach"