Skip to content

Commit 5876082

Browse files
authored
Merge pull request #225 from aminya/pipx [skip ci]
fix: install to the user home when using pipx as sudo
2 parents f55ff60 + a486582 commit 5876082

File tree

18 files changed

+180
-79
lines changed

18 files changed

+180
-79
lines changed

cspell.config.yaml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,11 @@ words:
2626
- copr
2727
- CPATH
2828
- Cppcheck
29-
- nodistro
30-
- dearmor
3129
- CPPFLAGS
3230
- cpprc
3331
- Cpython
3432
- DCMAKE
33+
- dearmor
3534
- deps
3635
- devel
3736
- DVCPKG
@@ -63,6 +62,7 @@ words:
6362
- mxschmitt
6463
- nala
6564
- noconfirm
65+
- nodistro
6666
- noprogressbar
6767
- nothrow
6868
- npmrc
@@ -84,13 +84,15 @@ words:
8484
- Trofimovich
8585
- tsbuildinfo
8686
- ucrt
87+
- untildified
8788
- untildify
8889
- upleveled
8990
- vbatts
9091
- vcpkg
9192
- VCPKG
9293
- vcvarsall
9394
- venv
95+
- venvs
9496
- visualc
9597
- visualcpp
9698
- vsversion

dist/actions/setup-cpp.js

Lines changed: 16 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/actions/setup-cpp.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/legacy/setup-cpp.js

Lines changed: 16 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/legacy/setup-cpp.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/modern/setup-cpp.js

Lines changed: 16 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/modern/setup-cpp.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -103,6 +103,7 @@
103103
"is-url-online": "^1.5.0",
104104
"jest": "^29.7.0",
105105
"micro-memoize": "^4.1.2",
106+
"mkdirp": "^3.0.1",
106107
"mri": "^1.2.0",
107108
"msvc-dev-cmd": "github:aminya/msvc-dev-cmd#97843d525947e3f3776ee359b597316909754c4d",
108109
"npm-check-updates": "^16.14.12",

packages/untildify-user/README.md

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,13 +18,23 @@ npm install --save untildify-user
1818

1919
<!-- INSERT GENERATED DOCS START -->
2020

21+
### `userHomeDir` (function)
22+
23+
**returns:** string
24+
2125
### `untildifyUser` (function)
2226

27+
Replaces a tilde with the user's home directory
28+
2329
**Parameters:**
2430

25-
- path (`string`)
31+
- path (`string`) - The path to untildify
2632

27-
**returns:** any
33+
**returns:** string
34+
35+
```tsx
36+
UntildifyUser("~/foo") // /home/user/foo
37+
```
2838

2939
<!-- INSERT GENERATED DOCS END -->
3040

packages/untildify-user/package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,7 @@
1111
"build": "tsc"
1212
},
1313
"dependencies": {
14-
"admina": "1.0.1",
15-
"untildify": "^5.0.0"
14+
"admina": "1.0.1"
1615
},
1716
"keywords": [
1817
"tilde",

0 commit comments

Comments
 (0)