dotfiles/home/user/.bashrc
2024-04-03 13:59:43 +03:00

15 lines
308 B
Bash

#!/usr/bin/env bash
# https://github.com/TheK4n/dotfiles
if \
[ "$(tty)" != "/dev/tty3" ] && \
[ -z "$TMUX" ] && \
[[ ! "$TERM" =~ tmux ]] && \
command -v tmux &>/dev/null
then
exec tmux
fi
if [ -f "$HOME/.config/bash/sourcer" ]; then
source "$HOME/.config/bash/sourcer"
fi