switch to os.UserHomeDir() to detect user home directory#119
switch to os.UserHomeDir() to detect user home directory#119sersh88 wants to merge 2 commits intoposener:masterfrom
Conversation
…ing shell completion scripts as it's more accurate (program can be run with sudo and will use root's homedir instead of original user)
|
Looks good. |
Codecov Report
@@ Coverage Diff @@
## master #119 +/- ##
==========================================
- Coverage 86.56% 84.08% -2.48%
==========================================
Files 8 9 +1
Lines 454 509 +55
==========================================
+ Hits 393 428 +35
- Misses 45 62 +17
- Partials 16 19 +3
Continue to review full report at Codecov.
|
|
🙂 |
When install shell completion scripts it's more accurate to use os.UserHomeDir().
Program can be run with sudo and will use root's homeDir instead of original user.