function p
if contains -- -d $argv
# 如果参数中包含 -d
set -u all_proxy
else
set -g https_proxy "http://127.0.0.1:6152"
set -g http_proxy "http://127.0.0.1:6152"
set -g all_proxy "socks5://127.0.0.1:6153"
end