Skip to content

linkarzu/dotfiles-public

Repository files navigation

Contents

Youtube video explaining my dotfiles and how to clone them

Repo overview

  • This repo is related to my my youtube 2024 macOS workflow video series
  • https://youtube.com/playlist?list=PLZWMav2s1MZTanWwNKYvS8qgwl0HBH9J-&si=q6ByPmN8I7SOBKmX
  • My dotfiles tend to change a lot, so I won't be modifying this current dotfiles-public repo anymore. That way, this repo always shows what's reflected in the youtube videos
  • Repo where I keep my latest dotfiles, but will NOT match what's on youtube
    • https://github.com/linkarzu/dotfiles-latest

Update symbolic links

  • Commands below will create the files if they don't yet exist, if they do exist, it will update them.
  • -n allows the link to be treated as a normal file if it is a symlink to a directory
  • -f "force" overwrites without warning if it already exists

Point your zshrc file to the desired repo

ln -snf ~/github/dotfiles-public/zshrc/zshrc-file.sh ~/.zshrc >/dev/null 2>&1
source ~/.zshrc
ln -snf ~/github/dotfiles-latest/zshrc/zshrc-file.sh ~/.zshrc >/dev/null 2>&1
source ~/.zshrc
# This is on the other repo where I keep my ssh config files
ln -snf ~/github/dotfiles/sshconfig-pers ~/.ssh/config >/dev/null 2>&1