Coder Social home page Coder Social logo

dotfiles's Introduction

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.
  • npm.sh - install npm packages.
  • 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

Note: These files are permanent.

Installation

git clone https://github.com/samuelramox/dotfiles.git && cd dotfiles

./setup.sh

Note: You can also download a specific release.

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

dotfiles's People

Contributors

samuelramox avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Forkers

mvfsillva

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.