~xdavidwu/dotfiles

2cb5f607c616ab59b0305861eaee2de187d98a8f — xdavidwu 3 years ago c252770
bash: silence when tty command not available
1 files changed, 1 insertions(+), 1 deletions(-)

M .bashrc
M .bashrc => .bashrc +1 -1
@@ 145,7 145,7 @@ notify() {

# application envs
# policy: should here even if global like /etc/environments
export GPG_TTY=$(tty)
export GPG_TTY=$(tty 2>/dev/null)
[ -f /usr/bin/vimpager ] && export PAGER=vimpager
export LESS='-S -R'
export LESSHISTFILE=-