dotfiles/home/user/.bashrc

11 lines
296 B
Bash

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