public
Description: My configuration files for various applications
Homepage: http://mina86.com/
Clone URL: git://github.com/mina86/dot-files.git
mina86 (author)
Fri Oct 16 02:33:17 -0700 2009
commit  f20802d27bfc52da3bc4038a3042d3ccb058f875
tree    ee7f0243169d09a22185614288afec6b9cd6c5aa
parent  ba198f5843b077cbeff5ad542b8cccd33dc706d2
dot-files / profile
100644 31 lines (26 sloc) 0.619 kb
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
## -*- shell-script -*-
## .profile
## Copyright 2004-2008 by Michal Nazarewicz (mina86/AT/mina86.com)
##
 
# Set ENV
export ENV=~/.shellrc
 
# Auto logout on time out
TMOUT=1200
 
# Source .shellrc
if [ x"$1" != xnothing ]; then
if [ -n "$1" ] && [ -r "$1" ]; then
. "$1"
elif [ -r ~/.shellrc ]; then
. ~/.shellrc
fi
fi
 
# 64/32 bit differences
export bits=32
if [ x"`uname -m`" = xx86_64 ]; then
bits=64
fi
for dir in ~/.gkrellm2/plugins ~/.fvwm/modules ~/.irssi/modules; do
if [ -e "$dir$bits" ]; then
rm "$dir" && ln -s "${dir##*/}$bits" "$dir"
fi
done