Fix : Add Gradle lock fix.

This commit is contained in:
Dmitry Voronin 2024-01-31 18:37:16 +03:00
parent 48f6407cc2
commit e6327c3c43
2 changed files with 8 additions and 2 deletions

View file

@ -17,3 +17,8 @@ function fix_ethernet_speed() {
function fix_files_sftp() { function fix_files_sftp() {
secret-tool clear protocol sftp secret-tool clear protocol sftp
} }
# Delete lost Gradle lock files.
function fix_gradle_lock() {
cd "${HOME}/.gradle" && find -type f | grep \\.lock$ | parallel -- rm {}
}

View file

@ -79,7 +79,7 @@ Command|Description
Command|Description Command|Description
---|--- ---|---
`ca [NAME]`|Attach/create container box in current directory with specified name. By default uses current dir name. `ca [NAME]`|Attach/create container box in current directory with specified name. By default uses current dir name.
`ck [NAME]`|Remove container box with specified name. By default uses `main` name. `ck [NAME]`|Remove container box with specified name. By default uses current dir name.
`cka`|Remove all container boxes. `cka`|Remove all container boxes.
`cl`|List all container boxes. `cl`|List all container boxes.
@ -181,6 +181,7 @@ Command|Description
---|--- ---|---
`fix_ethernet_speed <DEVICE> <SPEED>`|Fix when ethernet mistakenly detects 100 Mb instead of 1000 Mb. SPEED is one of 10/100/1000 etc. `fix_ethernet_speed <DEVICE> <SPEED>`|Fix when ethernet mistakenly detects 100 Mb instead of 1000 Mb. SPEED is one of 10/100/1000 etc.
`fix_files_sftp`|Fix nautilus after typing wrong sftp password. `fix_files_sftp`|Fix nautilus after typing wrong sftp password.
`fix_gradle_lock`|Delete lost Gradle lock files.
## Git. ## Git.
@ -373,7 +374,7 @@ Command|Description
`tl`|List running sessions. `tl`|List running sessions.
`tns [NAME]`|Assign name to session. Uses current dir name by default. `tns [NAME]`|Assign name to session. Uses current dir name by default.
`tnw [NAME]`|Assign name to window. Uses current dir name by default. `tnw [NAME]`|Assign name to window. Uses current dir name by default.
`tk [NAME]`|Kill specified session. By default it kills `main` session. `tk [NAME]`|Kill specified session. By default uses current dir name.
`tka`|Kill all sessions. `tka`|Kill all sessions.
## Todo. ## Todo.