Skip to content

Commit

Permalink
Add proxy and unproxy alias
Browse files Browse the repository at this point in the history
  • Loading branch information
curder committed Feb 26, 2024
1 parent 6c6ac57 commit 61f05c3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/guide/config/other.md
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,10 @@ alias php74ssh='php74 artisan deploy:run ssh'

## Ipinfo.io
alias getip='curl https://ipinfo.io'

# Proxy
alias proxy="export https_proxy=http://127.0.0.1:7890 http_proxy=http://127.0.0.1:7890 all_proxy=socks5://127.0.0.1:7890"
alias unproxy="unset http_proxy;unset https_proxy;unset all_proxy"
```

```bash
Expand Down

0 comments on commit 61f05c3

Please sign in to comment.