Make sure that all commands under bin directory are executable by running the following:
chmod +x ./bin/*To link the dotfiles to their appropriate locations, use the following steps:
-
Open a terminal and navigate to the directory containing your dotfiles:
cd ~/Documents/Dotfiles
-
Use symbolic links (
ln -s) to link each dotfile to its corresponding location. For example:ln -s ~/Documents/Dotfiles/aerospace.toml ~/.aerospace.toml
-
Reload your shell or restart your terminal to apply the changes.
Note: Adjust the file paths as needed for your specific setup.
Create and update a Brewfile from your current setup:
brew bundle dump --file=~/Documents/Dotfiles/Brewfile --forceUse the Brewfile on a new machine:
brew bundle --file=~/Documents/Dotfiles/BrewfileThis will install everything listed in the file.
Save a list of all extensions in your Visual Studio Code:
./bin/save_vscode_extensions.sh-
Open a terminal and navigate to the directory containing your dotfiles:
cd ~/Documents/Dotfiles
-
Use symbolic links (
ln -s) to link each dotfile to its corresponding location. For example:ln -s ~/Documents/Dotfiles/visual-studio-code/keybindings.json ~/Library/Application\ Support/Code/User/keybindings.json ln -s ~/Documents/Dotfiles/visual-studio-code/settings.json ~/Library/Application\ Support/Code/User/settings.json
-
Install all the missing extensions:
./bin/install_vscode_extensions.sh
Note: Adjust the file paths as needed for your specific setup.
-
Use links (
ln -s) to link karabiner configuration to its corresponding location. For example:ln -s ~/Documents/Dotfiles/karabiner.json ~/.config/karabiner/karabiner.json