aboutsummaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/profile/profile12
-rwxr-xr-xmodules/profile/xprofile5
2 files changed, 11 insertions, 6 deletions
diff --git a/modules/profile/profile b/modules/profile/profile
index f442602..dbfbea8 100644
--- a/modules/profile/profile
+++ b/modules/profile/profile
@@ -7,16 +7,16 @@ export LANG=pt_BR.UTF-8
# Source functions and variables from other places
if [ -e "$HOME/.aliases" ]; then
- source $HOME/.aliases
+ . $HOME/.aliases
fi
# Funcoes ZZ
if [ -e "/usr/bin/funcoeszz" ]; then
- source /usr/bin/funcoeszz
+ . /usr/bin/funcoeszz
fi
# Set PATH
-export PATH=$PATH:/sbin:/usr/sbin:/usr/local/sbin:$HOME/apps/scripts
+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"
@@ -26,12 +26,12 @@ eval "`dircolors -b ~/.dircolorsrc`"
# SSH Agent
if [ -e "$HOME/apps/scripts/ssh-agent-eval" ]; then
- source $HOME/apps/scripts/ssh-agent-eval
+ $HOME/apps/scripts/ssh-agent-eval
fi
# GPG Agent
if [ -e "$HOME/apps/scripts/gpg-agent-eval" ]; then
- source $HOME/apps/scripts/gpg-agent-eval
+ $HOME/apps/scripts/gpg-agent-eval
fi
# Remove lost found folder if empty
@@ -41,5 +41,5 @@ fi
# Custom configuration
if [ -e "$HOME/.custom/profile" ]; then
- source $HOME/.custom/profile
+ . $HOME/.custom/profile
fi
diff --git a/modules/profile/xprofile b/modules/profile/xprofile
index eeeaf27..744ae5d 100755
--- a/modules/profile/xprofile
+++ b/modules/profile/xprofile
@@ -43,3 +43,8 @@ done
# https://bugs.launchpad.net/ubuntu/+source/gnome-keyring/+bug/932177
unset GNOME_KEYRING_PID
unset GNOME_KEYRING_CONTROL
+
+# Execute window manager
+if [ "`cut -d . -f 1 /etc/debian_version`" ]; then
+ awesome
+fi