Use different init directory in emacs 29+

Recently when reading about emacs Bedrock I learnt that emacs 29+ has command line option that lets the user pass custom init directory via emacs --init-directory=MYDIR option. 1

This makes it easy to try out different starter kits without touching your stable/working config

Currently, I use Minemacs on my personal machine. In past I would rename my .emacs.d to try new config. (Then switch it back)

This makes things easier.


  1. Refer to this commit ↩︎