tay1orjones/dotfiles

Update setup

tay1orjones opened this issue · 1 comments

2022

New computer, time to revise

Checklist

  • Port bash config/profile/etc over to zsh
    • Is the .zshrc the best place for this, or another convention?
  • Script to install ohmyzsh
  • Are all the mac preferences still valid for Monterey? Sometimes they deprecate them or they stop working. https://github.com/mathiasbynens/dotfiles/blob/main/.macos
  • remove yarn from install script, it's installed through corepack now ✨
  • replicate prompt via ohmyzsh theme
    • add current node version
    • replace working directory clean/dirty/etc symbols and colors
  • Old computer, backup working directories/folders
    • Downloads
    • Desktop
    • ...?
prompt screenshot image

Notes

  • ohmyzsh should be installed before nvm
    • When installing ohmyzsh, it overrides the .zshrc file. I had previously installed nvm which modifies the .zshrc. After installing ohmyzsh nvm no longer worked, had to manually copy the path snippet over again.
  • Maybe simplify application list/install
    • homebrew installing all the apps is cool, but there's quite a few that don't formally support homebrew install paths
  • Manually created symlinks, these need to be updated to no longer include the bash files.
    • ln -fs ~/dev/dotfiles/git/gitattributes ~/.gitattributes
    • ln -fs ~/dev/dotfiles/git/gitconfig ~/.gitconfig
    • ... etc
  • Need to write up some docs on setting up git worktrees for v10, etc. https://git-scm.com/docs/git-worktree

2023 updates

  • If you setup the gh github cli, as part of authenticating it will add your ssh key to your github account. These docs need to be followed though so that you don't have to enter the passphrase every time you interact with github (pulling, pushing, etc)
  • .zshrc needs added to the list of files to be symlinked
  • many of the prefs are out of date and should be revisited/removed
  • nvm stable isn't usually what we want, it should instead be the current LTS