Everything as scripts and no more as functions!

Bashrc load time : 0.049s → 0.016s
This commit is contained in:
Geoffrey Frogeye 2017-02-12 11:41:03 +01:00
parent 7f7b011d4a
commit 1c14947329
19 changed files with 1007 additions and 718 deletions

14
profile
View file

@ -1,13 +1,13 @@
#
# ~/.profile
#
if [ -z "$SSH_AUTH_SOCK" ] ; then
eval `ssh-agent -s` > /dev/null
fi
if [ -f "$HOME/.config/linuxColors.sh" ]; then
source "$HOME/.config/linuxColors.sh"
fi
# SSH agent
[ -z "$SSH_AUTH_SOCK" ] && eval `ssh-agent -s` &> /dev/null
# TTY Colors
[ -f "$HOME/.config/linuxColors.sh" ] && . "$HOME/.config/linuxColors.sh"
[[ -f ~/.bashrc ]] && . ~/.bashrc
# Bashrc
#[ -f ~/.bashrc ] && . ~/.bashrc
# TODO Is this really useful?