Skip to content

mattpascoe/dotfiles

Repository files navigation

Dotfiles

A way to keep track of my common dotfile settings. These days I'm primarily on Mac but this is intended to work on linux as well.

Install

These steps assume a factory default state or initial setup of these scripts

You should be able to run the setup.sh script multiple times without issue at any time.

MISC MAC info

Started using the .macos file or similar from https://github.com/mathiasbynens/dotfiles

Simply run the .macos file to enable its settings

The following is a list of 'crap I do' to a new mac, maybe one day this is a set of 'default' plist settings.

  • enable internet accounts
    • iCloud - contacts, cal, reminder, safari, keychain, fmm
    • google - contacts, cal, notes
    • exchange? mail, contacts, cal, reminder, notes
  • general setting
    • allow handoff.. decide per instance
  • copy .ssh dir from previous box (to get keys, config is in this repo)
    • rsync -avh "10.1.1.206:.ssh" ~/
  • copy .gnupg dir from previous box
    • rsync -avh "10.1.1.206:.gnupg" ~/
  • rsync /data from a previous box (remove the n option as needed)
    • sudo rsync -avzn mdp@10.1.1.206:/data/ /data
    • do it several times to ensure all is copied, I noticed some files didnt move????
  • rsync Virtualbox systems (not really using vagrant much these days)
  • set capslock to escape.. stupid thing is hard to add using .macos/defaults
  • If in dual monitor mode, set big one as default by dragging menubar over

iTerm2

I have a file called com.googlecode.iterm2.plist in this repo. This is the iterm preferences file. Just set iterm to load preferences from folder. Usually I set /Users/$USER/dotfiles as my location

Periodically save the preferences (or check the box) to this file and check it into Git.

MAC Apps to install

Brewit: brew install iterm2 maccy brew install virtualbox vagrant brew install postman brew install istat-menus brew install 1password brew install lulu

OLD APPS

Unraid support

The setup script will try and detect if it is being run on an unraid box. It expects that you have a share called 'local' that will be used to store files used by the local root user.

This local share is likely going to be hidden and not actually on the network.

It is also assumed that you have the NerdTools plugin installed and that the fzf, zsh packages have been installed.

Unraid will run from /boot/config so if there are any changes to vimrc, zshrc or shell-common, you will need to run setup.sh again.

NIX

I'm exploring it. TBD how it fits in here.

One objective is to make configuration files as portable as possible. This means to systems of any type. Things that do not run NIX as well as multiple OS types with potentially limited scope. This is why for now I'm sticking with the setup.sh script.

Maybe NIX can simply layer into this process.

Ideas to find a home for

Interesting zsh 'global' alias option

 alias -g H='| head'  # git log H will show only the first 10 lines of the log

About

Manage my dotfiles

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published