aboutsummaryrefslogtreecommitdiff
path: root/modules/profile/profile.dot.link
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2013-12-27 15:36:23 -0200
committerSilvio Rhatto <rhatto@riseup.net>2013-12-27 15:36:23 -0200
commit081cb5a1365504082165d4b3f14df2c418f551d4 (patch)
tree0e841fc57808422131a25e92f104cf1728af2be0 /modules/profile/profile.dot.link
parentc8f8fa5215b1586263d2e80522d7cc13d8727552 (diff)
downloaddotfiles-081cb5a1365504082165d4b3f14df2c418f551d4.tar.gz
dotfiles-081cb5a1365504082165d4b3f14df2c418f551d4.tar.bz2
Removing profile to convert it to a submodule
Diffstat (limited to 'modules/profile/profile.dot.link')
-rw-r--r--modules/profile/profile.dot.link93
1 files changed, 0 insertions, 93 deletions
diff --git a/modules/profile/profile.dot.link b/modules/profile/profile.dot.link
deleted file mode 100644
index cad7fd1..0000000
--- a/modules/profile/profile.dot.link
+++ /dev/null
@@ -1,93 +0,0 @@
-#
-# .profile: basic environment setup
-#
-
-# Set language
-export LANG=pt_BR.UTF-8
-
-# Source functions and variables from other places
-if [ -e "$HOME/.aliases" ]; then
- . $HOME/.aliases
-fi
-
-# Funcoes ZZ
-#if [ -e "/usr/bin/funcoeszz" ]; then
-# . /usr/bin/funcoeszz
-#fi
-
-# Set PATH
-PATH=$PATH:/sbin:/usr/sbin:/usr/local/sbin
-export PATH=$PATH:$HOME/apps/metadot:$HOME/apps/scripts:$HOME/apps/brweather/brweather
-
-# See http://www.caliban.org/bash/#bashtips
-export CDPATH=".:~:~/code:~/data:~/file:/var/www/data"
-
-# Editor variables, avoiding "Avoiding protocol specified" error
-export EDITOR="vim -X"
-
-# Basic git configuration
-# See http://stackoverflow.com/questions/4192014/git-ps1-extremely-slow-in-kernel-tree
-export GIT_PS1_SHOWDIRTYSTATE=""
-export GIT_PS1_SHOWUNTRACKEDFILES=""
-
-# Temporary folder
-export TMPDIR="$HOME/temp/misc"
-export TMP="$HOME/temp/misc"
-mkdir -p $TMP
-
-# Dir colors
-eval "`dircolors -b ~/.dircolorsrc`"
-
-# SSH and GPG Agents
-if [ -e "$HOME/.ssh/id_rsa" ]; then
- mkdir -p $HOME/.keychain
- /usr/bin/keychain -q $HOME/.ssh/id_rsa
-
- if [ -e "$HOME/.keychain/$HOSTNAME-sh" ]; then
- source $HOME/.keychain/$HOSTNAME-sh
- fi
-
- if [ -e "$HOME/.keychain/$HOSTNAME-sh-gpg" ]; then
- source $HOME/.keychain/$HOSTNAME-sh-gpg
- fi
-
- #if [ -e "$HOME/apps/scripts/ssh-agent-eval" ]; then
- # $HOME/apps/scripts/ssh-agent-eval
- #fi
-fi
-
-# GPG Agent
-#if [ -e "$HOME/apps/scripts/gpg-agent-eval" ]; then
-# $HOME/apps/scripts/gpg-agent-eval
-#fi
-
-# Remove lost found folder if empty
-if [ -d "$HOME/lost+found" ]; then
- rmdir $HOME/lost+found &> /dev/null
-fi
-
-# Make sure basic folder structure exists
-mkdir -p $HOME/apps $HOME/file $HOME/html $HOME/mail $HOME/temp
-
-# Make sure data symlink exists
-if [ -e "/var/data" ] && [ ! -e "$HOME/data" ]; then
- ln -s /var/data $HOME/data
-fi
-
-# Make sure code symlink exists
-if [ -e "/var/data/code" ] && [ ! -e "$HOME/code" ]; then
- ln -s /var/data/code $HOME/code
-fi
-
-# Make sure download symlink exists
-if [ -e "/var/data/load" ] && [ ! -e "$HOME/load" ]; then
- ln -s /var/data/load $HOME/load
-fi
-
-# Custom configuration
-if [ -e "$HOME/.custom/profile" ]; then
- . $HOME/.custom/profile
-fi
-
-# Make sure we start at home
-cd