For more information about dotfiles, I wrote these articles on my blog:
- Dotfiles: automating macOS system configuration
- Increasing development productivity with repository management
- Set up a Hyper Key with Hammerspoon on macOS
- Generate new SSH keys and add them to your GitHub account
- Alternatively, restore your safely backed up SSH keys to
~/.ssh/
- Alternatively, restore your safely backed up SSH keys to
- Install Homebrew and git
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
brew install git
- Clone this repository
git clone git@github.com:luca-rath/dotfiles.git
- Run the
bootstrap.sh
script- Alternatively, only run the
setup.sh
scripts in specific subfolders if you don't need everything
- Alternatively, only run the
- Login to applications, enter license keys, set preferences
I strongly encourage you to play around with the configurations, and add or remove features. If you would like to use these dotfiles for yourself, I'd recommend changing at least the following:
- The .gitconfig file includes my [user] config, replace these with your own user name and email
This folder is a collection of the programs and utilities I use frequently. These lists can easily be amended to your liking.
- bootstrap.sh - Calls all setup.sh scripts
- setup.sh - Symlinks the other contents of the folder to
~/bin/
- imgcat - A utility to display images inline in iTerm 2
- sethidden - A shell script which takes command line arguments to show or hide hidden files
- togglehidden - A shell script that toggles between showing and hiding hidden files
- setup.sh - Sets the defaults set up in the different files
- app.package.id - Contains all extensions for the specified program
- setup.sh - Symlinks all fish files to their corresponding location in
~/.config/fish/
- config.fish - Global fish configuration (.fishrc)
- fishfile - List of
fisher
plugins - completions/
- repo.fish - Contains all repos as completions for the
repo
command - repodir.fish - Contains all repos as completions for the
repodir
command
- repo.fish - Contains all repos as completions for the
- functions/
- abbrex.fish - Utility for expanding abbreviations in fish-scripts
- clear.fish - Clears the screen and shows fish_greeting
- emptytrash.fish - Empties trash and clears system logs
- fish_greeting.fish - Fish greeting with fish logo
- fish_prompt.fish - The Classic + Git prompt from the fish web config
- fisher.fish - Fish plugin manager
- forrepos.fish - Executes a passed command for all repos in
~/Projects
- ls.fish - Calling ls with parameter --color=auto
- manp.fish - Open a man page in Preview
- pubkey.fish - Copies the SSH public key to the clipboard
- repo.fish - Finds a repository in
~/Projects
and jumps to it - repodir.fish - Finds a repository in
~/Projects
and prints its path - setup.fish - Initial setup for a new fish installation, contains abbreviations
- update.fish - Installs OS X Software Updates, updates Ruby gems, Homebrew, npm, and their installed packages
- week.fish - Returns the current week number
- setup.sh - Symlinks all git files to
~/
- .gitignore_global - Contains global gitignores, such as OS-specific files and several compiled files
- .gitconfig - Sets several global Git variables
- setup.sh - Executes a long list of commands pertaining to macOS Preferences
- setup.sh - Installs the contents of the .list files and the Brewfile
- functions.sh - Contains helper functions for symlinking files and printing progress messages
- setup.sh - Symlinks all vim files to
~/
- .vimrc - Basic Vim configuration
- setup.sh - Symlinks the settings.json file to
~/Library/Application Support/Code/User
- settings.json - Contains user settings for Visual Studio Code