dotfiles/home/user/.bashrc
2024-03-29 14:05:07 +03:00

11 lines
320 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" ] && [[ -z "$SSH_CLIENT" ]]; then
exec tmux
fi
if [ -f "$HOME/.config/bash/sourcer" ]; then
source $HOME/.config/bash/sourcer
fi