update
This commit is contained in:
12
bash/.bashrc
12
bash/.bashrc
@@ -16,6 +16,18 @@ for i in $(ls $Profile_PATH/aliases); do
|
||||
. $Profile_PATH/aliases/$i
|
||||
done
|
||||
|
||||
# Proxy
|
||||
alias setproxy="export http_proxy=http://127.0.0.1:7890 https_proxy=http://127.0.0.1:7890 all_proxy=socks5://127.0.0.1:7890"
|
||||
alias unsetproxy="unset http_proxy https_proxy all_proxy"
|
||||
|
||||
# Python venv
|
||||
alias newvenv="python -m venv .venv"
|
||||
alias actvenv=". .venv/bin/activate"
|
||||
|
||||
# Container
|
||||
alias crt="c run -it --rm" # container run temporarily
|
||||
alias ce="c exec -it" # container exec
|
||||
|
||||
# PATH
|
||||
PATH="$PATH:$HOME/bin/"
|
||||
PATH="$PATH:$HOME/go/bin/"
|
||||
|
||||
Reference in New Issue
Block a user