Something went wrong. Try again.
Something went wrong. Try again.
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970# vi:ft=bash:if [ ! -e "$HOME/Developer" ]; then mkdir -p $HOME/Developer touch $HOME/Developer/.localizedfi
SCRIPT_ROOT="$HOME/Developer/tangled.org/kokop.is/dotfiles"mkdir -p $SCRIPT_ROOTgit clone https://tangled.org/kokop.is/dotfiles $SCRIPT_ROOT
if test `uname` = "Darwin"; then ln -sf $SCRIPT_ROOT/osx/zshenv $HOME/.zshenv ln -sf $SCRIPT_ROOT/osx/zshrc $HOME/.zshrc ln -sf $SCRIPT_ROOT/osx/zprofile $HOME/.zprofile
ln -sf $SCRIPT_ROOT/osx/Brewfile $HOME/.Brewfile if where brew &>/dev/null; then brew bundle --global -f -v else mkdir -p $HOME/.local/homebrew git clone https://github.com/Homebrew/brew $HOME/.local/homebrew eval `$HOME/.local/homebrew/bin/brew shellenv` brew update --force --quiet chmod -R go-w "$(brew --prefix)/share/zsh" brew bundle --global -f -v fifi
if test `uname` = "Linux"; then ln -sf $SCRIPT_ROOT/linux/zshenv $HOME/.zshenv ln -sf $SCRIPT_ROOT/linux/zshrc $HOME/.zshrc
if [ ! -e "$HOME/.config/fontconfig" ]; then mkdir -p $HOME/.config/fontconfig fi ln -sf $SCRIPT_ROOT/linux/000-fontstweak-ezfc.conf $HOME/.config/fontconfig/fi
mkdir -p $HOME/.config/gitln -sf $SCRIPT_ROOT/share/gitignore_global $HOME/.config/git/ignorecp $SCRIPT_ROOT/share/gitconfig $HOME/.gitconfig
ln -sf $SCRIPT_ROOT/share/nvim $HOME/.config/nvimln -sf $SCRIPT_ROOT/share/zinit.conf.zsh $HOME/.zinit.conf.zsh
if where mise &>/dev/null; then ln -sf $SCRIPT_ROOT/share/mise.config.toml $HOME/.config/mise.toml mise upelse curl https://mise.run | sh ln -sf $SCRIPT_ROOT/share/mise.config.toml $HOME/.config/mise.toml echo 'TODO: finish installing mise and run `mise run` after the process'fi
mkdir -p $HOME/.local/opt/theosenv THEOS=$HOME/.local/opt/theos bash -c "$(curl -fsSL https://raw.githubusercontent.com/theos/theos/master/bin/install-theos)"
if [ ! -e "$HOME/.config/zed" ]; then mkdir -p $HOME/.config/zedfiln -sf $SCRIPT_ROOT/shared/zed-settings.json $HOME/.config/zed/config.json
ln -sf $SCRIPT_ROOT/shared/tmux.conf $HOME/.tmux.conf
if [ ! -e "$HOME/.config/macchina" ]; then mkdir -p $HOME/.config/macchinafiln -sf $SCRIPT_ROOT/shared/macchina.toml $HOME/.config/macchina.tomlexit