This commit is contained in:
2026-05-06 13:34:56 +08:00
parent 286f0596c6
commit 16ea678a72
7 changed files with 34 additions and 21 deletions

View File

@@ -9,5 +9,17 @@ for i in $(ls $Profile_PATH/aliases/)
. $Profile_PATH/aliases/$i
end
# Proxy
abbr --add 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"
abbr --add unsetproxy "set -e http_proxy https_proxy all_proxy"
# Python venv
abbr --add newvenv "python -m venv .venv"
abbr --add actvenv ". .venv/bin/activate.fish"
# Container
abbr --add crt "c run -it --rm" # container run temporarily
abbr --add ce "c exec -it" # container exec
# PATH
set -U fish_user_paths $HOME/.local/bin $HOME/go/bin $HOME/.local/share/JetBrains/Toolbox/scripts