diff --git a/bashrc b/bashrc index a898cdf..5cb40c2 100644 --- a/bashrc +++ b/bashrc @@ -4,7 +4,9 @@ case $- in *) return;; esac -source ~/.local/share/blesh/ble.sh --noattach +if [[ $TERM =~ tmux ]]; then + source ~/.local/share/blesh/ble.sh --noattach +fi # don't put duplicate lines or lines starting with space in the history. # See bash(1) for more options @@ -53,11 +55,13 @@ alias ls="eza -1 -l --icons=auto --git-repos --git -h -g -o --no-permissions" alias lsa="eza -1 -l --icons=auto --git-repos --git -h -g -o --no-permissions -a" alias lss="eza -1 -l --icons=auto --git-repos --git -h -g --total-size -o --no-permissions -a" -source ~/.fzf.bash -eval "$(zoxide init bash)" -eval "$(starship init bash)" -[[ ! ${BLE_VERSION-} ]] || ble-attach +if [[ $TERM =~ tmux ]]; then + source ~/.fzf.bash + eval "$(zoxide init bash)" + eval "$(starship init bash)" + [[ ! ${BLE_VERSION-} ]] || ble-attach +fi # TMUX if [[ ! $TERM =~ tmux ]]; then