19 lines
343 B
Bash
19 lines
343 B
Bash
#
|
|
# ~/.bashrc
|
|
#
|
|
|
|
# If not running interactively, don't do anything
|
|
[[ $- != *i* ]] && return
|
|
|
|
alias ls='ls --color=auto'
|
|
PS1='[\u@\h \W]\$ '
|
|
|
|
# Execute tmux in Alacritty
|
|
if [ "$TERM" == "alacritty" ]; then
|
|
exec tmux
|
|
fi
|
|
|
|
# Set TERM to screen-256color inside tmux
|
|
# (Needs tmux.conf changes)
|
|
[[ $TMUX != "" ]] && export TERM="screen-256color"
|