Ver a proveniência

update info messages

pull/1/head
10sr há 10 anos
ascendente
cometimento
10e7121ef3
1 ficheiros alterados com 9 adições e 14 eliminações
  1. +9
    -14
      shrc

+ 9
- 14
shrc Ver ficheiro

@@ -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"


Carregando…
Cancelar
Guardar