[+] Set user space to 🌎 when proxy is enabled
This commit is contained in:
Regular → Executable
+6
-3
@@ -63,6 +63,9 @@ color() {
|
||||
echo $tmp
|
||||
}
|
||||
|
||||
# Includes
|
||||
for f in $SCR/includes/*; do source $f; done
|
||||
|
||||
# Set proxy
|
||||
setproxy() {
|
||||
addr=${1:-127.0.0.1}
|
||||
@@ -72,6 +75,9 @@ setproxy() {
|
||||
export http_proxy="http://$full"
|
||||
export all_proxy="socks5://$full"
|
||||
color "&aUsing proxy! $full&r"
|
||||
|
||||
prompt-set 30 "🌎 "
|
||||
prompt-update
|
||||
}
|
||||
|
||||
# Mac hostname
|
||||
@@ -96,8 +102,5 @@ cut() {
|
||||
ffmpeg -i $1 -codec copy -ss $start -t $2 Cut\ $1
|
||||
}
|
||||
|
||||
# Includes
|
||||
for f in $SCR/includes/*; do source $f; done
|
||||
|
||||
# include if it exists
|
||||
[ -f $HOME/extra.rc.sh ] && . $HOME/extra.rc.sh
|
||||
|
||||
Reference in New Issue
Block a user