Skip to content

Commit

Permalink
Disable blesh in tty
Browse files Browse the repository at this point in the history
  • Loading branch information
bigbruno committed Oct 22, 2023
1 parent 055f97c commit 3a9475b
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions usr/share/biglinux/bash-config/bashrc
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,10 @@ alias l='ls -CF'

# Load Blesh for enhanced interactive shell experience
if [[ -f /usr/share/blesh/ble.sh ]] && [[ ! -f ~/.bash-normal ]]; then
source /usr/share/blesh/ble.sh --noattach
# Disable blesh in tty
if [[ $TERM != linux ]]; then
source /usr/share/blesh/ble.sh --noattach
fi
#GRC Configuration for colorizing command outputs
#GRC_ALIASES=true
#GRC="/usr/bin/grc"
Expand Down Expand Up @@ -139,8 +142,8 @@ fi
if [[ ${BLE_VERSION-} ]]; then
ble-attach
else
# Use in tty
if [[ $TERM == linux ]]; then

if [[ $TERM = linux ]]; then
PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\[\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ '
else
greenBg="\[\e[48;5;115m\]"
Expand Down

0 comments on commit 3a9475b

Please sign in to comment.