This commit is contained in:
Luk
2026-03-16 14:16:16 +08:00
parent c55b9931df
commit bde475b433
4 changed files with 137 additions and 6 deletions

View File

@@ -133,7 +133,7 @@ fi
MYIPPUB=$(curl -s ifconfig.me)
if [ "$(uname)" = "Darwin" ]; then
PSTYLE=04
PSTYLE=07
PTYPE=3
elif [ "$(whoami)" = "root" ]; then
PSTYLE=07
@@ -186,13 +186,19 @@ fi
# eval "$(fnm env --use-on-cd)"
# fi
# acme.sh settings
# acme.sh
if [ -f $HOME/.acme.sh/acme.sh.env ]
then
. "$HOME/.acme.sh/acme.sh.env"
alias acme=$HOME/.acme.sh/acme.sh
fi
# Added by OrbStack: command-line tools and integration
if [ "$(uname)" = "Darwin" ] && [ -f $HOME/.orbstack/shell/init.bash ]
then
source ~/.orbstack/shell/init.bash 2>/dev/null || :
fi
# let MacOS uses the same variable so that vscode-sshfs can use "$USERPROFILE/.ssh/id_rsa" uniformly.
export USERPROFILE=$HOME