Skip to content

Easy, breezy, beautiful.

Notifications You must be signed in to change notification settings

logston/dotfiles

Repository files navigation

Logston's Dotfiles

curl -s https://raw.githubusercontent.com/logston/dotfiles/master/setup.sh | bash

Bootstrapping a new machine?

All OSs

@Logston's dev env consists of a few basic tools.

When setting up a new machine, first get few basics installed:

Then running the setup script above should install the rest.

Git GPG Keys

In order to sign Git commits, you'll need to create a GPG key and add these env vars to your machine specific ~/.zsh.d/ file.

gpg --full-generate-key
Please select what kind of key you want:
   (1) RSA and RSA (default)
   (2) DSA and Elgamal
   (3) DSA (sign only)
   (4) RSA (sign only)
Your selection? 1
RSA keys may be between 1024 and 4096 bits long.
What keysize do you want? (3072) 4096
Requested keysize is 4096 bits
Please specify how long the key should be valid.
         0 = key does not expire
      <n>  = key expires in n days
      <n>w = key expires in n weeks
      <n>m = key expires in n months
      <n>y = key expires in n years
Key is valid for? (0)
...
# Override .gitconfig values with machine-specific values
export GIT_CONFIG_COUNT=4
export GIT_CONFIG_KEY_0=user.name
export GIT_CONFIG_VALUE_0="Paul Logston"
export GIT_CONFIG_KEY_1=user.email
export GIT_CONFIG_VALUE_1=paul.logston@
export GIT_CONFIG_KEY_2=user.signingkey
# gpg --list-keys --keyid-format LONG, use signing key with !
export GIT_CONFIG_VALUE_2=1AB00E2439AB1403!
export GIT_CONFIG_KEY_3=gpg.program
export GIT_CONFIG_VALUE_3=gpg.git

Make sure you have git >= 2.37: git --version

Tmux

MacOS

Set the command for terminal to run upon opening to: /opt/homebrew/bin/tmux new -A -s Default

Ensure "Option" key works as Meta: Terminal > Settings > Profiles > Keyboard > Use Option as Meta.

Linux

Run tmux attach-session -t Default after shelling in.

Neovim

Hammerspoon

Once Hammerspoon is installed by brew, install the Shift-It tool: https://github.com/peterklijn/hammerspoon-shiftit

LaTex

sudo tlmgr update --self
sudo tlmgr install xelatex
sudo tlmgr install algorithms
sudo tlmgr install algorithmicx
sudo tlmgr install titlesec
sudo tlmgr install tikz-qtree

About

Easy, breezy, beautiful.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published