Conversation
|
hmmm, Maybe instead of checking for old config we should update config instead? |
Might not be as easy, e.g. you have to ignore comments etc. - not sure if you do this in the 2nd line already (?!). |
|
It is only barely tested btw, so please review with caution. |
Updating seems to work fine. Now have to test if this works in general What I like about this aproach that one can have as many users as he/she likes. |
|
Your approach would cause an extra |
|
@blueyed Do you think you can update this to latest master? Working through these old PRs and this is one I am interested to test and eventually merge. |
|
@carnager |
982a022 to
e0b8a62
Compare
This also avoids shelling out to `whoami` always, and only uses `$USER` by default.
|
Rebased again (no conflicts). |
This also avoids shelling out to
whoamialways, and only uses$USERby default.