主要自己用,说不定有人能用上。分享出来。
只在 mac 做了真机测试
安装
curl -fsSL https://raw.githubusercontent.com/cj0x39e/p/main/install.sh | sh
使用方法
[td]Command[/td]
[td]Purpose[/td]
p
copy proxy env commands to clipboard
p on
print shell commands to enable proxy
p off
print shell commands to disable proxy
p status
show detected proxy
p detect
show detection details
p test
test current proxy env with curl
p set 7890
save local HTTP proxy port
p --shell sh
force output shell (sh, fish, ps)
p --version
print version
仓库地址:
https://github.com/cj0x39e/p

