Tuning speed script loading
This commit is contained in:
12
README.md
12
README.md
@@ -8,19 +8,13 @@ Add to $HOME/.bashrc file:
|
||||
|
||||
After that each bash login is ready to offer full functionality.
|
||||
|
||||
For faster load can be set
|
||||
`LWS_FAST=1`
|
||||
|
||||
## Quick commands
|
||||
reload-workspace
|
||||
$LWS
|
||||
|
||||
## Sections
|
||||
```
|
||||
bin/
|
||||
conf/
|
||||
doc/
|
||||
rc/
|
||||
scripts/
|
||||
```
|
||||
|
||||
### TODO
|
||||
- Tune gws for easy tiger compiling actions
|
||||
- IntelliJ IDEA
|
||||
|
||||
@@ -2,6 +2,4 @@
|
||||
|
||||
if command -v direnv > /dev/null; then
|
||||
eval "$(direnv hook bash)"
|
||||
else
|
||||
echo "SKIP direnv"
|
||||
fi
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -1 +1,6 @@
|
||||
eval "$(thefuck --alias)"
|
||||
if [[ -z "$LWS_FAST" ]]; then
|
||||
if type thefuck > /dev/null; then
|
||||
eval "$(thefuck --alias)"
|
||||
fi
|
||||
fi
|
||||
|
||||
|
||||
Reference in New Issue
Block a user