Personal dotfiles, symlinked into $HOME via install.sh.
git clone git@github.com:yi-json/dotfiles.git ~/github/dotfiles
cd ~/github/dotfiles
./install.shThis installs prerequisites, symlinks each file below into $HOME (backing up any
existing file to ~/.dotfiles_backup/<timestamp>/ first), then sets up oh-my-zsh.
Prerequisites (skipped if already installed):
- Rust/cargo (via
rustup), thenjj-cliinstalled withcargo install
Then oh-my-zsh setup:
- clones
powerlevel10kinto$ZSH_CUSTOM/themes/ - clones
zsh-autosuggestionsandzsh-syntax-highlightinginto$ZSH_CUSTOM/plugins/ - downloads the
coolnightiTerm2 color scheme to~/Downloads/ - rewrites the
plugins=(...)line in~/.zshrctoplugins=(git zsh-autosuggestions zsh-syntax-highlighting web-search) - rewrites the
ZSH_THEME=line in~/.zshrctoZSH_THEME="powerlevel10k/powerlevel10k" - merges any remaining blocks from the repo's
zshrcinto~/.zshrc(instant-prompt block, autosuggestion tab-accept widget, p10k source line), skipping any block already present so nothing is duplicated on re-runs