Skip to content

marioblas/dotfiles

Repository files navigation

Mario's dotfiles

Setup

Installation

  • Fork & clone the repo 🔀
  • Add your .gitconfig.local file (see private config) ⚙
  • Read and run parts of setup-a-new-machine.sh 💻
  • Read and run symlink-setup.sh ⚡️
  • Enjoy! 👌

Add new dotfiles

Just cd to your dotfiles repository, add your new dotfiles and then run symlink-setup.sh

Summary of files

Automatic config

  • .vimrc
  • .inputrc

Shell

  • .aliases
  • .bash_profile
  • .bash_prompt
  • .bashrc
  • .zshrc
  • .exports
  • .functions
  • .path

Editor

Git

  • .gitconfig
  • .gitignore

Manual run

  • symlink-setup.sh
  • setup-a-new-machine.sh
    • brew.sh, npm.sh, vscode-extensions.sh, macos.sh

Private config

Git

Use ~/.gitconfig.local for your private git configuration. Eg: username, tokens...

[user]
  name = John Doe
  email = johndoe@example.com
# ...

Extra

You can create a file ~/.extra and add your private configuration.

My ~/.extra looks something like this:

# Project aliases
alias dotfiles="cd ~/Developer/projects/dotfiles"
# ...

Also you can use this file for override settings, functions and aliases.

Thanks to...

This project is principally for personal use and is based on Mathias' and Paul's dotfiles.

License

MIT © marioblas

About

💻 My macOS dotfiles

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published