dotfiles
dotfiles copied to clipboard
Setup issues on new macbook (2024)
Issues
- Noting list of issues faced while setting up dotfiles on a new MacBook. God it's been ages since I wrote code 😅
- Readme needs a lot of updating. Bunch of things are expected as installed by the setup process but aren't in the readme.
- Haven't done full study on each topic on the
why
. Just noting the issues and quick fix for now.
Issue-1: Editorconfig core was needed
On running vim, was getting an error that editorconfig core was not available. Running brew install editorconfig
solved it. This should be part of the setup. Will have to check if brew is already installed. If not, don't need to auto-manage it. Just throw an error and abort. Alternately, there's an Editorconfig version that doesn't seem to require the core.
Issue-2: Vim temp folder didn't exist
Error: E510: Can't make backup file (add ! to override)
Not sure why this needs to be setup manually. But had to mkdir ~/.vimtmp
Issue-3: .zshrc
has system username present in path
Was set to /Users/sm
. New system has Users/shashankmehta
. Need to figure a way to manage this. Simple find/replace with user input could be sufficient with appropriate placeholder term (so replace doesn't have accidental replacements)
Issue-4: oh-my-zsh
needs to be installed separately and manually
It's not automatically handled and README doesn't mention it. Bad README.
Issue-5: autojump
not found
brew install autojump
fixed it. Very bad README 🤦♂️
Thankfully, it ended here, for now. BRB, need to express disappointment towards 2014 shashankmehta.
And one more (ofc)
Issue-6: scm-breeze is expected to be installed
git clone https://github.com/scmbreeze/scm_breeze.git ~/.scm_breeze
~/.scm_breeze/install.sh
source ~/.bashrc
Looks like my mindset back then was to use this repo more as a way of storing dotfiles vs the readme being the documentation for setting up my work environment.