Skip to content

Arsievert/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dotfiles

NameDescriptionRepository
FishFish is a smart and user-friendly command line shell.https://github.com/fish-shell/fish-shell
KittyKitty is a fast, feature-rich, GPU-based terminal emulator.https://github.com/kovidgoyal/kitty
BtopBtop is a resource monitor that shows usage and stats for processor, memory, disks, network and processes.https://github.com/aristocratos/btop
StarshipStarship is a minimal, fast, and customizable prompt for any shell.https://github.com/starship/starship

Installation

git clone https://github.com/arsievert/dotfiles.git ~/dotfiles
cd ~/dotfiles
./bootstrap.sh

To install Homebrew packages:

brew bundle --file=~/dotfiles/Brewfile

GPG Commit Signing Setup

This dotfiles repo includes a .gitconfig with GPG commit signing enabled. Here’s how to set it up on a new machine.

1. Install GPG

brew install gnupg

2. Generate a new GPG key (if needed)

gpg --full-generate-key

Choose:

  • RSA and RSA (default)
  • 4096 bits
  • Key does not expire (or set expiration as desired)
  • Your name and email (must match your git config)

3. Get your key ID

gpg --list-secret-keys --keyid-format=long

Output looks like:

sec   rsa4096/XXXXXXXXXXXXXXXX 2023-01-15 [SC]
      ABCDEF1234567890ABCDEF1234567890ABCDEF12
uid                 [ultimate] Your Name <your@email.com>
ssb   rsa4096/1234567890ABCDEF 2023-01-15 [E]

The key ID is the part after rsa4096/ (e.g., XXXXXXXXXXXXXXXX).

4. Configure git to use the key

git config --global user.signingkey YOUR_KEY_ID
git config --global commit.gpgsign true

Or edit ~/.gitconfig directly:

[user]
    signingkey = YOUR_KEY_ID
[commit]
    gpgsign = true

5. Export your public key to GitHub

gpg --armor --export YOUR_KEY_ID | pbcopy

Then go to GitHub -> Settings -> SSH and GPG keys -> New GPG key, and paste.

6. Verify the setup

# Test signing
echo "test" | gpg --clearsign

# Make a signed commit
git commit --allow-empty -m "Test signed commit"

# Verify the signature
git log --show-signature -1

About

Set of configurations for terminal emulator, shell, etc.

Resources

License

Stars

Watchers

Forks

Contributors