Commit Graph

6 Commits (280d908f170b1198dbe18c6d2729b05767f3cede)

Author SHA1 Message Date
Bo Jeanes 55d7637afb Fix WSL check
Prior to this fix, as implemented it caused a false positive.
2020-06-13 14:30:36 +10:00
Bo Jeanes 98e503a17e Abbreviate WSL home dir to ~win
Thanks @romkatv![1]

[1]: https://github.com/romkatv/powerlevel10k/issues/764#issuecomment-633499665
2020-05-26 13:36:21 +10:00
Bo Jeanes 6ecd8cf273 Only check for `WSL` in osrelease
https://github.com/microsoft/WSL/issues/423#issuecomment-611086412
2020-05-04 14:39:47 +10:00
Bo Jeanes 12c29a2106 Only start cron if not already running 2020-05-04 14:39:19 +10:00
Bo Jeanes e52ad462c2 Start root's cron under WSL
WSL2 has some uncontrolled memory growth, so a cronjob to clear caches
is a prudent way to help until it is resolved.

https://github.com/microsoft/WSL/issues/4166#issuecomment-604707989
2020-05-04 14:34:21 +10:00
Bo Jeanes c77820e856 Hook into Windows' SSH Agent under WSL
This will securely store SSH key in the host system, tied to your user
account, will be locked when Windows is locked, and will avoid having to
type SSH passphrase in every new window you open.
2020-04-03 20:32:58 +11:00