Preferences ---> Keys ---> Send Escape Sequence b/f
Preferences ---> Keys ---> Send Hex Code (0x01 0x70 0x72 0x6f 0x78 0x79 0x63 0x68 0x61 0x69 0x6e 0x73 0x34 0x20 0x2d 0x71 0x20 0x0D)
Insert http_proxy=http://0.0.0.0:8118 https_proxy=https://0.0.0.0:8118 before commands ( option + p)
Preferences ---> Keys ---> Send Hex Code (0x01 0x68 0x74 0x74 0x70 0x5f 0x70 0x72 0x6f 0x78 0x79 0x3d 0x68 0x74 0x74 0x70 0x3a 0x2f 0x2f 0x30 0x2e 0x30 0x2e 0x30 0x2e 0x30 0x3a 0x38 0x31 0x31 0x38 0x20 0x68 0x74 0x74 0x70 0x73 0x5f 0x70 0x72 0x6f 0x78 0x79 0x3d 0x68 0x74 0x74 0x70 0x73 0x3a 0x2f 0x2f 0x30 0x2e 0x30 0x2e 0x30 0x2e 0x30 0x3a 0x38 0x31 0x31 0x38 0x20 0x0D)
proxychains 不能代理某些命令, 比如gcloud, go
需要用到http_proxy