Everything as scripts and no more as functions!
Bashrc load time : 0.049s → 0.016s
This commit is contained in:
parent
7f7b011d4a
commit
1c14947329
19 changed files with 1007 additions and 718 deletions
14
profile
14
profile
|
@ -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?
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue