Skip to content

codejota/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dotfiles

This is my first experience with macOS and also configuring dotfiles

macOS Dotfiles

This is a simple and flexible dotfiles and scripts to setup macOS.

Table of Contents

  1. What are dotfiles
  2. Features
  3. Installation
  4. Manual setup
  5. Resources

What are dotfiles

Dotfiles are configuration files on Unix-based systems. At first they are just hidden configuration files of the system (that's why the reason for starting with .). However, we can use them to make it easier to configure our computers, with many advantages:

  • Easy to format a new computer
  • Automation of tasks
  • Easy maintenance
  • Storage in remote locations (GitHub, iCloud, Dropbox, etc)
  • Versioning
  • Import to multiple computers
  • Customize the terminal

Features

Check linked files to more details.

Installation files

  • apps.sh - installs Homebrew, Homebrew Cask Upgrade and some apps.
  • dock.sh - macOS Dock items customization.
  • dotfiles.sh - installs Oh My Zsh, .zshrc and Git configs.
  • hostname.sh - change hostname (MacBook name).
  • macos.sh - macOS defaults configs.
  • setup.sh - main installer.
  • ssh.sh - generate SSH.
  • user.sh - user data to configuration of Git and SSH.
  • util.sh - support functions for other installers.

Note: These files will be discarded later.

Settings Files

  • .gitignore_global - global gitignore.
  • [.zshrc_silicon][] - terminal configs with aliases, paths, plugins and theme for Macs with Apple Silicon.

Note: These files are permanent.

Installation

git clone git@github.com:codejota/dotfiles.git && cd dotfiles
./setup.sh

Explaining the process

The setup.sh process will open user.sh for you to add your user data. This data is necessary for the configuration and functioning of Git and SSH.

# - GIT_NAME: name and surname to use in Git settings.
# - GIT_EMAIL: email to use in Git settings.
# - SSH_EMAIL: email to use in SSH settings.
# - HOSTNAME: hostname/computer name (optional, leave empty if you don't want to change).

It will then install the following scripts, in this order:

Note: I suggest you read these files and turn your preferences on/off before installation.

Manual setup

Visual Studio Code settings are loaded by the [Settings Sync][], so you will have to change manually or load your settings.

Visual Studio Code - Config

Code → Preference → Settings (or CMD + ,) and add or edit the following values:

"editor.fontFamily": "JetBrains Mono",
"editor.fontLigatures": true,

Resources

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages