comparison bashrc @ 24:acbc487533ab

Consistently fix Thunderbird time settings by moving some bits to profile, not bashrc
author IBBoard <dev@ibboard.co.uk>
date Sat, 24 Oct 2015 15:48:50 +0100
parents ea572e660598
children c67aa2af6ff2
comparison
equal deleted inserted replaced
23:3d68edad334f 24:acbc487533ab
7 . /etc/bash_completion 7 . /etc/bash_completion
8 fi 8 fi
9 9
10 # Use a sane editor 10 # Use a sane editor
11 export EDITOR=/usr/bin/nano 11 export EDITOR=/usr/bin/nano
12
13 #Import aliases
12 test -s ~/.alias && . ~/.alias || true 14 test -s ~/.alias && . ~/.alias || true
13 15
14 # Add sbins to path to make life easier (e.g. /sbin/ifconfig) 16 # Add sbins to path to make life easier (e.g. /sbin/ifconfig)
15 export PATH=/sbin:/usr/sbin:/usr/local/sbin:$PATH 17 export PATH=/sbin:/usr/sbin:/usr/local/sbin:$PATH
16 18
17 #Disable man page number prompts - where there's more than one, we normally want the default (user command) version 19 #Disable man page number prompts - where there's more than one, we normally want the default (user command) version
18 export MAN_POSIXLY_CORRECT=1 20 export MAN_POSIXLY_CORRECT=1
19 21
20 #Make sure that Thunderbird et al show correct dates
21 export LC_TIME=en_GB.UTF-8
22
23 #Disable less history, because do I really search the same things enough to use it across sessions? 22 #Disable less history, because do I really search the same things enough to use it across sessions?
24 export LESSHISTFILE=- 23 export LESSHISTFILE=-
24
25 export XDG_CACHE_HOME="$HOME/.cache"
25 26
26 if [ "$PS1" != "" -a "${STARTED_TMUX:-x}" = x -a "${SSH_TTY:-x}" != x ] 27 if [ "$PS1" != "" -a "${STARTED_TMUX:-x}" = x -a "${SSH_TTY:-x}" != x ]
27 then 28 then
28 STARTED_TMUX=1; export STARTED_TMUX 29 STARTED_TMUX=1; export STARTED_TMUX
29 sleep 1 30 sleep 1