34 lines
1.4 KiB
Fish
34 lines
1.4 KiB
Fish
if status is-interactive
|
|
# Commands to run in interactive sessions can go here
|
|
end
|
|
set -g fish_greeting
|
|
|
|
# HOMEBREW
|
|
# tuna - https://mirrors.tuna.tsinghua.edu.cn/help/homebrew/
|
|
set -x HOMEBREW_BREW_GIT_REMOTE https://mirrors.tuna.tsinghua.edu.cn/git/homebrew/brew.git
|
|
set -x HOMEBREW_API_DOMAIN https://mirrors.tuna.tsinghua.edu.cn/homebrew-bottles/api
|
|
set -x HOMEBREW_BOTTLE_DOMAIN https://mirrors.tuna.tsinghua.edu.cn/homebrew-bottles
|
|
|
|
# USTC - https://mirrors.ustc.edu.cn/help/brew.git.html
|
|
# set -xU HOMEBREW_BREW_GIT_REMOTE https://mirrors.ustc.edu.cn/brew.git
|
|
|
|
set -q GHCUP_INSTALL_BASE_PREFIX[1]; or set GHCUP_INSTALL_BASE_PREFIX $HOME ; set -gx PATH $HOME/.cabal/bin /Users/congyu/.ghcup/bin $PATH # ghcup-env
|
|
|
|
|
|
# >>> conda initialize >>>
|
|
# !! Contents within this block are managed by 'conda init' !!
|
|
if test -f /opt/homebrew/Caskroom/miniforge/base/bin/conda
|
|
eval /opt/homebrew/Caskroom/miniforge/base/bin/conda "shell.fish" "hook" $argv | source
|
|
else
|
|
if test -f "/opt/homebrew/Caskroom/miniforge/base/etc/fish/conf.d/conda.fish"
|
|
. "/opt/homebrew/Caskroom/miniforge/base/etc/fish/conf.d/conda.fish"
|
|
else
|
|
set -x PATH "/opt/homebrew/Caskroom/miniforge/base/bin" $PATH
|
|
end
|
|
end
|
|
# <<< conda initialize <<<
|
|
|
|
# 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 || :
|