Skip to content

Instantly share code, notes, and snippets.

# for clash
git config --global http.proxy http://127.0.0.1:7890
# reset
git config --global --unset http.proxy
@zerosrat
zerosrat / config.fish
Created November 14, 2025 04:48
fish auto nvm
# file path: ~/.config/fish/config.fish
# NVM 自动切换配置
# 查找.nvmrc文件的函数
function nvm_find_nvmrc
set -l path (pwd)
while test "$path" != "/"
if test -f "$path/.nvmrc"
echo "$path/.nvmrc"
return 0