From 0ac39f763a003444c650064ec1cffe534475080f Mon Sep 17 00:00:00 2001 From: Celeste Date: Tue, 17 Feb 2026 01:30:35 +0000 Subject: [PATCH] Add .bashrc --- .bashrc | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .bashrc diff --git a/.bashrc b/.bashrc new file mode 100644 index 0000000..10aca02 --- /dev/null +++ b/.bashrc @@ -0,0 +1,25 @@ +# ~/.bashrc: executed by bash(1) for non-login shells. + +# Note: PS1 is set in /etc/profile, and the default umask is defined +# in /etc/login.defs. You should not need this unless you want different +# defaults for root. +# PS1='${debian_chroot:+($debian_chroot)}\h:\w\$ ' +# umask 022 + +# You may uncomment the following lines if you want `ls' to be colorized: + export LS_OPTIONS='--color=auto' + eval "$(dircolors)" + alias ls='ls $LS_OPTIONS' + alias ll='ls $LS_OPTIONS -l' + alias l='ls $LS_OPTIONS -lA' +# +# Some more alias to avoid making mistakes: + alias rm='rm -i' + alias cp='cp -i' + alias mv='mv -i' + +if command -v tmux &> /dev/null && [ -n "$PS1" ] && [[ ! "$TERM" =~ screen ]] && [[ ! "$TERM" =~ tmux ]] && [ -z "$TMUX" ] && [[ "$(tty)" == "/dev/tty1" ]]; then + tmux new-session -d -s "ResoniteSetup" + tmux send-keys -t "ResoniteSetup" "./firstlogin.sh" Enter + tmux attach-session -t "ResoniteSetup" +fi \ No newline at end of file