Mercurial > repos > other > linux
view bashrc @ 10:4268b51e6b73
Add modular login credentials (to avoid version controlling them) and CA support (for StartSSL on CentOS)
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sat, 02 Aug 2014 19:54:51 +0100 |
parents | e6a261f18fb1 |
children | 170de0d0d6dd |
line wrap: on
line source
if [ -f /etc/bashrc ]; then . /etc/bashrc fi # Use bash-completion, if available if [ -f /etc/bash_completion ]; then . /etc/bash_completion fi export EDITOR=/usr/bin/nano test -s ~/.alias && . ~/.alias || true export PATH=/sbin:/usr/sbin:/usr/local/sbin:$PATH export MAN_POSIXLY_CORRECT=1 if [ "$PS1" != "" -a "${STARTED_TMUX:-x}" = x -a "${SSH_TTY:-x}" != x ] then STARTED_TMUX=1; export STARTED_TMUX sleep 1 ( (tmux has-session -t remote && tmux attach-session -t remote) || (tmux new-session -s remote) ) && exit 0 echo "tmux failed to start" fi