Tuning speed script loading

This commit is contained in:
lachtan
2021-06-04 06:23:56 +02:00
parent 8f44a9e72e
commit 0d6522fcd6
4 changed files with 11 additions and 14 deletions

View File

@@ -2,6 +2,4 @@
if command -v direnv > /dev/null; then
eval "$(direnv hook bash)"
else
echo "SKIP direnv"
fi

View File

@@ -3,7 +3,7 @@
for key in id_ecdsa id_rsa; do
key_filename="$HOME/.ssh/$key"
if [ -f $key_filename ]; then
eval $(keychain --eval --quiet --agents ssh $key)
eval $(keychain --eval --quiet --agents ssh $key)
break
fi
done

View File

@@ -1 +1,6 @@
eval "$(thefuck --alias)"
if [[ -z "$LWS_FAST" ]]; then
if type thefuck > /dev/null; then
eval "$(thefuck --alias)"
fi
fi