Commit 8f67e81
Stop slowing bash init by caching plugins path slowly
Fixes issue #3889 by only loading docker plugins path when needed: if it is fast enough than it shouldn't be a problem to do this on demand; OTOH if it is slow then we shouldn't do this during *every* bash session initialization, regardless if docker completion will be needed or not.
Signed-off-by: Oded Arbel <[email protected]>
(cherry picked from commit 1da67be)
Signed-off-by: Sebastiaan van Stijn <[email protected]>1 parent 7e32d44 commit 8f67e81
1 file changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1142 | 1142 | | |
1143 | 1143 | | |
1144 | 1144 | | |
1145 | | - | |
| 1145 | + | |
| 1146 | + | |
| 1147 | + | |
| 1148 | + | |
1146 | 1149 | | |
1147 | 1150 | | |
1148 | 1151 | | |
| |||
5503 | 5506 | | |
5504 | 5507 | | |
5505 | 5508 | | |
5506 | | - | |
| 5509 | + | |
5507 | 5510 | | |
5508 | 5511 | | |
5509 | 5512 | | |
| |||
0 commit comments