feat(bootstrap): add additional packages for installation and enhance proxy aliases
This commit is contained in:
+1
-1
@@ -1,7 +1,7 @@
|
|||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
set -euo pipefail
|
set -euo pipefail
|
||||||
|
|
||||||
PACKAGES=("zsh" "tmux" "alacritty" "stow")
|
PACKAGES=("zsh" "tmux" "alacritty" "stow" "sshuttle" "eza" "zoxide")
|
||||||
|
|
||||||
# Detect package manager and install.
|
# Detect package manager and install.
|
||||||
detect_and_install() {
|
detect_and_install() {
|
||||||
|
|||||||
@@ -0,0 +1,19 @@
|
|||||||
|
192.168.1.0/24
|
||||||
|
157.22.231.198
|
||||||
|
5.253.61.60
|
||||||
|
194.107.17.137
|
||||||
|
3.173.21.63
|
||||||
|
85.143.112.71
|
||||||
|
87.250.250.50
|
||||||
|
140.82.121.3
|
||||||
|
213.59.253.7
|
||||||
|
87.250.250.22
|
||||||
|
85.143.112.110
|
||||||
|
87.250.250.5
|
||||||
|
185.71.67.230
|
||||||
|
151.101.129.140
|
||||||
|
185.173.80.30
|
||||||
|
178.130.128.27
|
||||||
|
87.240.132.78
|
||||||
|
85.143.112.40
|
||||||
|
5.255.255.77
|
||||||
@@ -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"
|
alias localip="ip -4 addr show | grep -oP '(?<=inet\s)\d+(\.\d+){3}' | grep -v 127.0.0.1"
|
||||||
|
|
||||||
# Proxy
|
# 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-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='unset http_proxy https_proxy HTTP_PROXY HTTPS_PROXY && echo "Proxy disabled"'
|
alias proxy-off='sshp-stop && unset http_proxy https_proxy HTTP_PROXY HTTPS_PROXY && echo "Proxy disabled"'
|
||||||
alias proxy-status='env | grep -i proxy'
|
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 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 lidoff='sudo systemctl unmask sleep.target suspend.target hibernate.target hybrid-sleep.target'
|
||||||
# alias gemini='NODE_NO_WARNINGS=1 npx @google/gemini-cli'
|
# 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'
|
||||||
|
|||||||
Reference in New Issue
Block a user