2012-12-24 17:33:22 +01:00
|
|
|
PATH=$HOME/.local/bin/:$HOME/.local/sbin/:$HOME/.local/games/:/opt/local/bin/:/opt/local/sbin:/opt/local/games/:$PATH
|
2012-04-04 09:16:52 +02:00
|
|
|
|
2012-12-24 18:02:43 +01:00
|
|
|
# Sets environment variable CPUARCH to output of "uname -p" & UNAME to "uname"
|
|
|
|
UNAME=`uname`
|
|
|
|
CPUARCH=`uname -p`
|
|
|
|
|
|
|
|
# If we are on Mac, show hidden files in Finder and enable AirDrop over Ethernet and on unsupported (by Apple) Macs
|
|
|
|
if [ $UNAME = "Darwin" ]; then
|
|
|
|
defaults write com.apple.finder AppleShowAllFiles TRUE && defaults write com.apple.NetworkBrowser BrowseAllInterfaces 1
|
|
|
|
fi
|
|
|
|
|
2012-04-04 12:52:03 +02:00
|
|
|
# Use gpg-agent
|
|
|
|
eval $(gpg-agent --daemon)
|
|
|
|
|
2012-04-30 18:22:42 +02:00
|
|
|
# For MonkeySphere
|
|
|
|
mkdir -p ~/.monkeysphere
|
2012-07-30 17:38:18 +02:00
|
|
|
echo "USE_VALIDATION_AGENT=true" > ~/.monkeysphere/monkeysphere.conf
|
2012-04-30 18:22:42 +02:00
|
|
|
|
2012-05-02 17:23:12 +02:00
|
|
|
# Enable core files.
|
|
|
|
ulimit -c unlimited
|
|
|
|
|
2012-08-26 19:53:56 +02:00
|
|
|
# Start gtk-redshift automatically.
|
2012-08-26 19:33:08 +02:00
|
|
|
# Use http://stereopsis.com/flux/map.html to get the coordinates. Replace ", " with ":".
|
2012-08-26 19:53:56 +02:00
|
|
|
# Set the coordinates to file ~/.redshiftlocation in format redshiftlocation=60.4666227:26.9459998
|
|
|
|
|
|
|
|
if [ -f ~/.redshiftlocation ]; then
|
|
|
|
. ~/.redshiftlocation ];
|
|
|
|
fi
|
|
|
|
|
|
|
|
gtk-redshift -l $redshiftlocation&
|
2012-08-26 19:33:08 +02:00
|
|
|
|
2012-04-04 13:06:03 +02:00
|
|
|
# The environment was set to ~/.environment according to other files...
|
|
|
|
if [ -f ~/.environment ]; then
|
2012-05-02 17:21:43 +02:00
|
|
|
. ~/.environment
|
2012-04-04 13:06:03 +02:00
|
|
|
fi
|
|
|
|
|
2012-04-04 09:16:52 +02:00
|
|
|
# Allow custom things to be put to ~/.xcustom
|
|
|
|
if [ -f ~/.xcustom ]; then
|
|
|
|
. ~/.xcustom
|
|
|
|
fi
|
|
|
|
|
|
|
|
# vim: set ft=sh
|