Przeglądaj źródła

test with grep -o not works as expected, use usual null redirect

pull/1/head
10sr 11 lat temu
rodzic
commit
18f2d67e1b
1 zmienionych plików z 2 dodań i 1 usunięć
  1. +2
    -1
      bashrc

+ 2
- 1
bashrc Wyświetl plik

@@ -54,7 +54,8 @@ export VISUAL="$EDITOR"
export GIT_PAGER="less -F"
export GIT_EDITOR="$EDITOR"
if test -n "$TMUX" && \
test -n "tmux display -p '#{client_termname}' | grep -o 256color"
echo $TERM | grep screen >/dev/null 2>&1 && \
tmux display -p '#{client_termname}' | grep 256color >/dev/null 2>&1
then
TERM=screen-256color
fi


Ładowanie…
Anuluj
Zapisz