feat(bootstrap): add additional packages for installation and enhance proxy aliases

This commit is contained in:
Dmitry
2026-03-04 15:06:34 +03:00
parent 3dae3163ee
commit dfdef1c493
3 changed files with 23 additions and 3 deletions
+3 -2
View File
@@ -58,8 +58,8 @@ alias ports='netstat -tulanp'
alias localip="ip -4 addr show | grep -oP '(?<=inet\s)\d+(\.\d+){3}' | grep -v 127.0.0.1"
# Proxy
alias proxy-on='export http_proxy="http://127.0.0.1:8118" https_proxy="http://127.0.0.1:8118" HTTP_PROXY="http://127.0.0.1:8118" HTTPS_PROXY="http://127.0.0.1:8118" && echo "Proxy enabled"'
alias proxy-off='unset http_proxy https_proxy HTTP_PROXY HTTPS_PROXY && echo "Proxy disabled"'
alias proxy-on='sshp-start && export http_proxy="http://127.0.0.1:1080" https_proxy="http://127.0.0.1:1080" HTTP_PROXY="http://127.0.0.1:1080" HTTPS_PROXY="http://127.0.0.1:1080" && echo "Proxy enabled"'
alias proxy-off='sshp-stop && unset http_proxy https_proxy HTTP_PROXY HTTPS_PROXY && echo "Proxy disabled"'
alias proxy-status='env | grep -i proxy'
@@ -169,3 +169,4 @@ alias timer='echo "Timer started. Stop with Ctrl-D." && date && time cat && date
alias lidon='sudo systemctl mask sleep.target suspend.target hibernate.target hybrid-sleep.target'
alias lidoff='sudo systemctl unmask sleep.target suspend.target hibernate.target hybrid-sleep.target'
# alias gemini='NODE_NO_WARNINGS=1 npx @google/gemini-cli'
alias sshvpn='sshuttle --dns -r fl-vps 0/0 -X ~/.dotfiles/configs/.exclude-ip.txt'