# $DOTFILES/platforms/mac/zshrc # Date: 2024-11-30 # Author: js0ny # Sourced by user's zshrc if is macOS 在用户的 zshrc 中被引用,macOS 特定配置 # Entry point in $DOTFILES/tools/zsh/common.zshrc (入口点) # macOS # alias clip="pbcopy" alias paste="pbpaste" # >>> conda initialize >>> # !! Contents within this block are managed by 'conda init' !! __conda_setup="$('/opt/homebrew/Caskroom/miniconda/base/bin/conda' 'shell.zsh' 'hook' 2>/dev/null)" if [ $? -eq 0 ]; then eval "$__conda_setup" else if [ -f "/opt/homebrew/Caskroom/miniconda/base/etc/profile.d/conda.sh" ]; then . "/opt/homebrew/Caskroom/miniconda/base/etc/profile.d/conda.sh" else export PATH="/opt/homebrew/Caskroom/miniconda/base/bin:$PATH" fi fi unset __conda_setup # <<< conda initialize <<< alias start-twm="source $DOTFILES/scripts/__twm_osx_start.zsh"