-
Notifications
You must be signed in to change notification settings - Fork 1
/
dotbashrc
37 lines (31 loc) · 882 Bytes
/
dotbashrc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
#!/bin/bash
#
# Alexs .bashrc
# loaded by bash when shell is run
#
# This should only hold 'quick' operations like making sure
# PATH variables and the like are set.
#
# I have stuff in ~/bin
if [ -d $HOME/bin ]; then
export PATH=~/bin:$PATH
fi
# You would think SHELL is always bash, but not so if we invoke
# bash from a fish shell environment
if [[ -n "$BASH" && "$BASH" != "$SHELL" ]]; then
export SHELL=$BASH
fi
# locales
#
# It's all a bit of black art to me but if this is what Debian's reconfigure
# can set /etc/default/locale then I guess its good enough for my .bashrc
#
# LC_ALL has precendece over LANG, LC_CTYPE is needed for rxvt-unicode
#
export LC_ALL=en_GB.UTF-8
export LC_CTYPE=en_GB.UTF-8
export LANG=en_GB.UTF-8
export LANGUAGE=en_GB.UTF-8
# Also set some profile parameters to sane values to avoid bleed from
# our full profile
unset PROMPT_COMMAND