# HG changeset patch # User IBBoard # Date 1445698130 -3600 # Node ID acbc487533ab309e5782c858b49f44af52e8e8dd # Parent 3d68edad334f0ade71c641f6fe222dc683be656d Consistently fix Thunderbird time settings by moving some bits to profile, not bashrc diff -r 3d68edad334f -r acbc487533ab bashrc --- a/bashrc Sat Oct 24 15:47:34 2015 +0100 +++ b/bashrc Sat Oct 24 15:48:50 2015 +0100 @@ -9,6 +9,8 @@ # Use a sane editor export EDITOR=/usr/bin/nano + +#Import aliases test -s ~/.alias && . ~/.alias || true # Add sbins to path to make life easier (e.g. /sbin/ifconfig) @@ -17,12 +19,11 @@ #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=- +export XDG_CACHE_HOME="$HOME/.cache" + if [ "$PS1" != "" -a "${STARTED_TMUX:-x}" = x -a "${SSH_TTY:-x}" != x ] then STARTED_TMUX=1; export STARTED_TMUX diff -r 3d68edad334f -r acbc487533ab profile --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/profile Sat Oct 24 15:48:50 2015 +0100 @@ -0,0 +1,13 @@ +# This file is read each time a login shell is started. +# All other interactive shells will only read .bashrc; this is particularly +# important for language settings, see below. + +#SUSE-ism for importing common profile stuff +test -z "$PROFILEREAD" && . /etc/profile || true + +#Make sure that Thunderbird et al show correct dates and that all apps (not just Bash) get the right locale +export LC_TIME=en_GB.UTF-8 +export LC_ALL=en_GB.UTF-8 + +#Set us up for XCompose support of custom characters +export GTK_IM_MODULE="uim" \ No newline at end of file diff -r 3d68edad334f -r acbc487533ab setup.sh --- a/setup.sh Sat Oct 24 15:47:34 2015 +0100 +++ b/setup.sh Sat Oct 24 15:48:50 2015 +0100 @@ -28,6 +28,7 @@ create_symlink tmux.conf ~/.tmux.conf create_symlink hgrc ~/.hgrc create_symlink bashrc ~/.bashrc +create_symlink profile ~/.profile create_symlink /usr/lib/python*/site-packages/hgext/hgview.py ~/.hgview.py create_symlink gitconfig ~/.gitconfig create_symlink dircolors ~/.dir_colors