Last active
October 14, 2024 02:03
-
-
Save GrayXu/407ec274b4783f8381a5b4daa2b31025 to your computer and use it in GitHub Desktop.
personal .zshrc
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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