Skip to content

Instantly share code, notes, and snippets.

@joshjordan
joshjordan / _zsh-config.sh
Last active February 8, 2024 03:23
Initialize a new machine with my preferred applications and configurations
#!/bin/zsh
git clone --recursive https://github.com/sorin-ionescu/prezto.git "${ZDOTDIR:-$HOME}/.zprezto"
setopt EXTENDED_GLOB
for rcfile in "${ZDOTDIR:-$HOME}"/.zprezto/runcoms/^README.md(.N); do
ln -s "$rcfile" "${ZDOTDIR:-$HOME}/.${rcfile:t}"
done
git clone https://gist.github.com/033fd9f674a670da0460.git ~/zprezto_custom
ln -s ~/zprezto_custom/prompt_joshjordan_setup ~/.zprezto/modules/prompt/functions/prompt_joshjordan_setup