[Bug]: `.lip` path is wrong while using lip on Ubuntu
ShrBox opened this issue · 0 comments
ShrBox commented
Describe the bug
Fitst, I add lip executable to PATH envirorment variable, then I create a new directory and cd into that.
Secondly, I run these commands:
lip config GitHubMirrorURL https://github.bibk.top
lip config GoModuleProxyURL https://goproxy.cn
ls
Output:
sb@sb-vm:~/bds$ lip config GitHubMirrorURL https://github.bibk.top
sb@sb-vm:~/bds$ lip config GoModuleProxyURL https://goproxy.cn
sb@sb-vm:~/bds$ du -h
4.0K ./home/sb/.lip/cache
12K ./home/sb/.lip
4.0K ./home/sb/bds/.lip/metadata
8.0K ./home/sb/bds/.lip
12K ./home/sb/bds
28K ./home/sb
32K ./home
36K .
As you see, the .lip
folder was created in ~/bds/home/sb/.lip
.
In general, the path is ~/.lip
To Reproduce
lip config GitHubMirrorURL https://github.bibk.top
lip config GoModuleProxyURL https://goproxy.cn
ls
Expected behavior
The .lip
folder is located in ~
Screenshots
Platform
Ubuntu 23.10
Version
0.21.2
Additional context
No response