This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # file location: ~/Brewfile | |
| # This file is used along with the `brew bundle` command to ensure that required packages and apps are installed. | |
| # Also can be used to ensure that any package/apps that were installed as experimentation are uninstalled from the system. | |
| # If you are starting such a file on a machine where you have already installed some apps using brew, then use `brew bundle dump` to create this file and avoid starting from scratch | |
| # If you have also installed some vscode plugins already (manually), then you can use the following command to export that list: | |
| # code --list-extensions | |
| # For a more detailed explanation of the philosophy/reasoning behind this file, please see https://openfolder.sh/macos-migrations-with-brewfile |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| # file location: ~/.gitconfig | |
| # Note: | |
| # [Windows users] If you are on windows, please search for the word 'windows' - and fix those lines - they seem to cause some trouble | |
| # [General] Since some of the settings are specific to my setup (ie presence of fles), I have marked those lines with comments 'Personal' - you can go ahead and change those to your equivalents or delete them altogether | |
| # [General] Since I use 'diff-so-fancy' as the diffing tool, it's absence on your system will cause some errors. If you are able to, I would sincerely urge you to install and use it for a much better experience. If not, please replace all such occurrences back to use 'diff' | |
| # Note: Even though this will show up twice in `git config -l` - it will still be overridden based on the order of the includeIf lines below | |
| [includeIf "gitdir/i:~/"] # Personal | |
| path = ~/.gitconfig-oss.inc # Personal |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| # This script can be used to setup a macos machine based on Vijay's configurations. As of now, this script is idempotent and will restore your local setup to the same state if run multiple times. | |
| # If you have the same files already present, it will prompt you whether to override or not | |
| # file location: <anywhere> (just need to invoke it from that location) | |
| # You can run this script using this command: | |
| # curl -L https://gist.github.com/Elangovan96/33a07f16d2ecae314d22fbbd6de129c2/raw -o fresh-install.sh; chmod +x ./fresh-install.sh; ./fresh-install.sh | |
| USERNAME=${USERNAME:-$(whoami)} |