feat: modify github git config

This commit is contained in:
2025-02-26 17:10:44 +08:00
parent a55e3ca1e2
commit 7df9df1801
2 changed files with 16 additions and 3 deletions
+16 -1
View File
@@ -26,7 +26,7 @@ end
# set environment
set paths_to_check /usr/sbin /usr/local/bin /usr/bin /bin /usr/sbin /sbin /opt/bin /opt/sbin /usr/syno/sbin /usr/syno/bin /usr/local/sbin $HOME/.local/bin
for path in $paths_to_check
for path in $paths_to_check do
add_to_path $path
end
@@ -192,3 +192,18 @@ function pset
echo "Proxy environment variables have been set."
pshow
end
# source env
function source_env
for line in (cat $argv | grep -v '^#' | grep -v '^\s*$')
set item (string split -m 1 '=' $line)
set -gx $item[1] (eval echo $item[2])
end
end
function make2
make -f Makefile.local $argv
end
# Added by OrbStack: command-line tools and integration
# This won't be added again if you remove it.
source ~/.orbstack/shell/init2.fish 2>/dev/null || :