fsodogandji / dotfiles

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Dotfiles

A collection of my .dotfiles including a setup script. This script will set up all the things.

Build Status

GitHub Actions

Dotfiles Testing

Usage

Clone down to your $HOME folder

cd ~
git clone https://github.com/mrlesmithjr/dotfiles .dotfiles --recursive

Setup

The following will be set up using this method:

  • dotfiles
  • Python
  • Brew

Full Install

cd ~/.dotfiles
./install

Minimal Install

cd ~/.dotfiles
./minimal-install

Various Setting Info

.bashrc and .bash_profile

To make this portable between Linux and macOS we need to use both. The the reason is that for macOS the default is to use .bash_profile and ignore .bashrc whereas on Linux .bash_profile is only used for interactive logins (ssh, terminal, etc.) and ignored from GUI-based terminal sessions.

And then we can add all of our goodies to .bashrc. And in doing so, everything works as planned in all scenarios between Linux and macOS.

.gitconfig

Make sure to reset the user, email, and other personal settings. Or you'll be using mine.

 git config --global --unset commit.gpgsign
 git config --global --unset gpg.format
 git config --global --unset gpg.ssh.allowedsignersfile
 git config --global --unset gpg.ssh.program
 git config --global --unset user.email
 git config --global --unset user.name
 git config --global --unset user.signingkey

Homebrew Bundles

I've included a few different options to install Homebrew packages for simplicity.

Homebrew minimal

To install a minimal setup execute:

brew bundle --file homebrew/Brewfile.minimal

Homebrew full

To install a full setup execute either:

brew bundle --file homebrew/Brewfile

or:

brew bundle --global

License

MIT

Author Information

Larry Smith Jr.

Buy Me A Coffee

About

License:MIT License


Languages

Language:Shell 98.8%Language:Ruby 1.2%