item2 and Oh-My-Zsh
item2: https://iterm2.com
Oh My Zsh: https://ohmyz.sh

安装插件,
https://gist.github.com/dogrocker/1efb8fd9427779c827058f873b94df95
| $ git clone https://github.com/zsh-users/zsh-autosuggestions.git $ZSH_CUSTOM/plugins/zsh-autosuggestions
$ git clone https://github.com/zsh-users/zsh-syntax-highlighting.git $ZSH_CUSTOM/plugins/zsh-syntax-highlighting
|
| plugins=(
git
zsh-autosuggestions
zsh-syntax-highlighting
)
|
允许添加插件
右键自动补全
原来的:
| alias sayhello=~/desktop/sayhello
export PATH=/opt/homebrew/bin:$PATH
# >>> conda initialize >>>
# !! Contents within this block are managed by 'conda init' !!
__conda_setup="$('/opt/anaconda3/bin/conda' 'shell.zsh' 'hook' 2> /dev/null)"
if [ $? -eq 0 ]; then
eval "$__conda_setup"
else
if [ -f "/opt/anaconda3/etc/profile.d/conda.sh" ]; then
. "/opt/anaconda3/etc/profile.d/conda.sh"
else
export PATH="/opt/anaconda3/bin:$PATH"
fi
fi
unset __conda_setup
# <<< conda initialize <<<
export PATH=$PATH:/opt/homebrew/opt/riscv-gnu-toolchain/bin
|
https://liarrdev.github.io/post/macOS-iTerm2-Beautifying-Configuration/