diff options
Diffstat (limited to 'src/My_.bashrc.adoc')
-rw-r--r-- | src/My_.bashrc.adoc | 40 |
1 files changed, 40 insertions, 0 deletions
diff --git a/src/My_.bashrc.adoc b/src/My_.bashrc.adoc new file mode 100644 index 0000000..938e44b --- /dev/null +++ b/src/My_.bashrc.adoc @@ -0,0 +1,40 @@ +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 + + +// vim: set syntax=asciidoc: |