aboutsummaryrefslogtreecommitdiff
path: root/modules/profile/profile
blob: 8815debc27667a37ef38b35e8d1c0136dc6e219a (plain)
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
#
# .profile: basic environment setup
#

# Set language
export LANG=pt_BR.UTF-8

# Source functions and variables from other places
if [ -e "$HOME/.aliases" ]; then
  source $HOME/.aliases
fi

# Funcoes ZZ
if [ -e "/usr/bin/funcoeszz" ]; then
  source /usr/bin/funcoeszz
fi

# Set PATH
export PATH=$PATH:/sbin:/usr/sbin:/usr/local/sbin:$HOME/apps/scripts

# Editor variables, avoiding "Avoiding protocol specified" error
export EDITOR="vim -X"

# SSH Agent
source $HOME/apps/scripts/ssh-agent-eval

# GPG Agent
source $HOME/apps/scripts/gpg-agent-eval

# Custom configuration
if [ -e "$HOME/.custom/profile" ]; then
  source $HOME/.custom/profile
fi