Bläddra i källkod

update info messages

pull/1/head
10sr 10 år sedan
förälder
incheckning
10e7121ef3
1 ändrade filer med 9 tillägg och 14 borttagningar
  1. +9
    -14
      shrc

+ 9
- 14
shrc Visa fil

@@ -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] [<name>] [<command ...>]
__dtach_dir="${TMP}/dtach"


Laddar…
Avbryt
Spara