Only run ble.sh in TMUX
This commit is contained in:
parent
09cfd51689
commit
c174bb98e8
14
bashrc
14
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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user