Not that any of you care that much, but I thought I might post my .bashrc file as it evolves in case anyone is looking for something I have in mine. I have made quite a few of them and ultimately end up cleaning them out entirely on occasion to start over so I can keep it clean with only the things I need.

That said, here’s what we’ve got so far. The initial contents at the top are from the Arch Linux skel file.

I’ll keep updating this as I make changes.

#
# ~/.bashrc
#

# If not running interactively, don't do anything
[[ $- != *i* ]] && return

alias ls='ls --color=auto'
PS1='[\u@\h \W]\$ '

# My modifications
export TERM=xterm-256color

# This will spawn a new tmux instance as our "shell" if tmux isn't already
# running
if [[ -z $TMUX ]]; then
        exec tmux
else
        echo
fi

Category:SSH Category:Bash