MacOS dark mode & command line tools
- Beta version of iTerm2 has built-in support for system appearance and will change themes in sync with macOS;
- Setup dark-mode-notify to launch on start and call a custom shell script (eg: appearance-change.sh) when appearance changes;
- Update the script as required
NOTE:
- neovim v0.8.0+ can issue self referencing commands. For example, try putting this into your
init.lua
to prevent nested vim instances when using built-in terminal:vim.env.EDITOR = string.format('nvim --server %s --remote --', vim.api.nvim_get_vvar('servername'))