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

@@ -8,19 +8,13 @@ Add to $HOME/.bashrc file:
After that each bash login is ready to offer full functionality. After that each bash login is ready to offer full functionality.
For faster load can be set
`LWS_FAST=1`
## Quick commands ## Quick commands
reload-workspace reload-workspace
$LWS $LWS
## Sections
```
bin/
conf/
doc/
rc/
scripts/
```
### TODO ### TODO
- Tune gws for easy tiger compiling actions - Tune gws for easy tiger compiling actions
- IntelliJ IDEA - IntelliJ IDEA

View File

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

View File

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