mirror of
https://github.com/wesnoth/wesnoth
synced 2025-04-21 17:19:50 +00:00
Fix setting default TERM value in bash
This commit is contained in:
parent
a6053e0dcd
commit
1fb83c3c7a
@ -2,7 +2,8 @@
|
||||
|
||||
shopt -s globstar nullglob
|
||||
|
||||
export TERM=${TERM-xterm} # hopefully a good approximation of what github supports
|
||||
# bash sets TERM to dumb by default but does not export it
|
||||
compgen -e -X '!TERM' || export TERM=xterm # hopefully a good approximation of what github supports
|
||||
reset=$(tput sgr0)
|
||||
red=$(tput setaf 1)
|
||||
green=$(tput setaf 2)
|
||||
|
Loading…
x
Reference in New Issue
Block a user