Skip to content

Instantly share code, notes, and snippets.

@GrayXu
Last active October 14, 2024 02:03
Show Gist options
  • Save GrayXu/407ec274b4783f8381a5b4daa2b31025 to your computer and use it in GitHub Desktop.
Save GrayXu/407ec274b4783f8381a5b4daa2b31025 to your computer and use it in GitHub Desktop.
personal .zshrc
# ZSH是好文明 => https://github.com/ohmyzsh/ohmyzsh
# sudo apt install zsh
# sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
# git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
# git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
# 然后如下简单配置你的.zshrc!
export ZSH="$HOME/.oh-my-zsh"
export PATH="$PATH:$HOME/.local/bin"
export GIT_EDITOR=vim
DISABLE_AUTO_UPDATE="true"
ZSH_THEME="ys"
plugins=(git sudo zsh-syntax-highlighting zsh-autosuggestions)
source $ZSH/oh-my-zsh.sh
TZ='Asia/Shanghai'; export TZ
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment