Mercurial > repos > other > linux
view bashrc @ 23:3d68edad334f
Add more smilies
author | IBBoard <dev@ibboard.co.uk> |
---|---|
date | Sat, 24 Oct 2015 15:47:34 +0100 |
parents | ea572e660598 |
children | acbc487533ab |
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 # Use a sane editor export EDITOR=/usr/bin/nano test -s ~/.alias && . ~/.alias || true # Add sbins to path to make life easier (e.g. /sbin/ifconfig) export PATH=/sbin:/usr/sbin:/usr/local/sbin:$PATH #Disable man page number prompts - where there's more than one, we normally want the default (user command) version export MAN_POSIXLY_CORRECT=1 #Make sure that Thunderbird et al show correct dates export LC_TIME=en_GB.UTF-8 #Disable less history, because do I really search the same things enough to use it across sessions? export LESSHISTFILE=- 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