diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2013-01-31 23:46:43 -0200 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2013-01-31 23:46:43 -0200 |
commit | 63dfd651503e24ea1bb3cede976712e5852b33b7 (patch) | |
tree | 821003f16a92cd7c70648c007cc2e839971ef161 /modules/profile | |
parent | db23eb35937041ef97295022915bd2abf84f7534 (diff) | |
download | dotfiles-63dfd651503e24ea1bb3cede976712e5852b33b7.tar.gz dotfiles-63dfd651503e24ea1bb3cede976712e5852b33b7.tar.bz2 |
Removing bashisms from profile scripts
Diffstat (limited to 'modules/profile')
-rw-r--r-- | modules/profile/profile | 12 | ||||
-rwxr-xr-x | modules/profile/xprofile | 5 |
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 |