mac环境配置
# PREFACE:
# Q:ios 调试环境怎么搞?
# A:买台 mac
zsh 安装与配置:9 步打造高效命令行 - 知乎 (zhihu.com)
/bin/bash -c “$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)”
- 环境变量:
echo “export PATH=/opt/homebrew/bin:$PATH” >> ~/.zshrc
- 安装
brew install
- zsh 命令行
brew install zsh
- oh-my-zsh
sh -c “$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)”
- zsh-autosuggestions 命令行提示插件
git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
在 .zshrc
中,把 zsh-autosuggestions
加入插件列表:
plugins=(
# other plugins...
zsh-autosuggestions # 插件之间使用空格隔开
)
- zsh-syntax-highlighting 命令语法校验
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
在 .zshrc 中,把 zsh-syntax-highlighting
加入插件列表:
plugins=(
# other plugins...
zsh-autosuggestions
zsh-syntax-highlighting
)
- 传输文件
python -m http.server
- 远程 ida
把权限开了运行 macos 那个 arm server 局域网远程就行