Skip to content

22a/dotfiles

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Cute dalmatian

22a's dotfiles

aka. Spooky Lizard Incantation Configuration

This repo contains configuration files for neovim, zsh, tmux, iTerm2, and a script to bootstrap a new machine to create an adequately useful development environment.

⚠ Warnings ⚠

The bootstrap script has been written with a fresh install in mind, it assumes a blank canvas. It will forcibly symlink over your dotfiles if you let it.

Installation

Install system specific build tools homebrew will need:

# macOS, this opens gui dialogs, click accept, etc.
xcode-select --install

# ~unix
sudo apt-get install build-essential

Clone this repo:

git clone https://github.com/22a/dotfiles.git; cd dotfiles;

Run the bootstrap script:

# this will install brew as a first step, the following steps depend on the
# packages from brew so you'll need to make sure `brew` is on $PATH after the
# brew install completes. it's safe to re-run `./bootstrap.sh --all` after,
# it'll pick up where it left off

./bootstrap.sh --all

Post-install configuration

Relaunch your terminal, it'll load the zim packages.

Open nvim and install treesitter grammars, debugging adapters, and lanugage servers:

TSInstall
DapInstall
LspInstall
" eg. LspInstall tsserver ember tailwindcss cssls html jsonls bashls lua_ls

Things you'll have to set up manually

  • Generate a new ssh key
    ssh-keygen -t rsa -b 4096 -C "your@email.ie"
  • Update the remote for this repo so we can push changes
    git remote set-url origin git@github.com:22a/dotfiles.git
  • Import gpg key to gpg-suite
  • Populate ~/.gituser file
    [user]
      email = your@email.ie
      name = Peter Meehan
      signingkey = DEADBEEFDEADBEEFDEADBEEFDEADBEEFDEADBEEF
    where signingkey is the fingerprint for your gpg key, visible under gpg --list-keys

macOS specific manual setup steps

  • Remove guest user
  • Set up the default iTerm2 profile with a new colorscheme
  • Disable spotlight keyboard shortcuts
    System Preferences... -> Keyboard -> Shortcuts -> Spotlight -> Untick both
    
  • Configure Alfred with the Alfred macOS theme