diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-02-01 01:25:10 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-02-01 01:25:10 -0200 |
commit | 6b9187673ee62d11042832f938913f15131592a7 (patch) | |
tree | 9e70016667efe273a72ab351aafaddbdb099e123 /modules/profile/profile.dot.link | |
parent | 25235935e6c90557a4d6791c8d8f3a5cdf89681a (diff) | |
download | dotfiles-6b9187673ee62d11042832f938913f15131592a7.tar.gz dotfiles-6b9187673ee62d11042832f938913f15131592a7.tar.bz2 |
Adding metadot script
Diffstat (limited to 'modules/profile/profile.dot.link')
-rw-r--r-- | modules/profile/profile.dot.link | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/modules/profile/profile.dot.link b/modules/profile/profile.dot.link new file mode 100644 index 0000000..dbfbea8 --- /dev/null +++ b/modules/profile/profile.dot.link @@ -0,0 +1,45 @@ +# +# .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 +export PATH=$PATH:/sbin:/usr/sbin:/usr/local/sbin:$HOME/.dotfiles:$HOME/apps/scripts + +# Editor variables, avoiding "Avoiding protocol specified" error +export EDITOR="vim -X" + +# Dir colors +eval "`dircolors -b ~/.dircolorsrc`" + +# SSH Agent +if [ -e "$HOME/apps/scripts/ssh-agent-eval" ]; then + $HOME/apps/scripts/ssh-agent-eval +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 + +# Custom configuration +if [ -e "$HOME/.custom/profile" ]; then + . $HOME/.custom/profile +fi |