jef / dotfiles

πŸ–₯ My dotfiles. Using zsh, zgenom, and chezmoi.

Home Page:https://jef.buzz

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

dotfiles

This is my no fuss terminal setup. No plugin manager; all self-managed through git.

Getting started

  • Install Homebrew if macOS
  • Install yay if Arch Linux
  • Install zsh via package manager
  • Run sh -c "$(curl -fsLS get.chezmoi.io)" -- init --apply jef
    • You can continue to get updates with the same command

Have fun! πŸš€

Recommended tools

  • Install eza for a colorful ls
  • Install bat for better cat
  • Install nvim for better vim

With these tools installed, you'll get preconfigured aliasing.

Notes

SSH

Setting up proper permissions for SSH keys.

chmod 700 ~/.ssh/
chmod 644 ~/.ssh/config ~/.ssh/known_hosts $public_key
chmod 600 $private_key

GPG

This only really works if you don't mind losing any other keys (than your own).

# Export public and secret key and ownertrust

gpg -a --export your.email@domain.tld > somename-public-gpg.key
gpg -a --export-secret-keys your.email@domain.tld > somename-secret-gpg.key
gpg --export-ownertrust > somename-ownertrust-gpg.txt

# Import secret key (which contains the public key) and ownertrust

gpg --import somename-secret-gpg.key
gpg --import-ownertrust somename-ownertrust-gpg.txt

Used from this gist.

AUR

Updating packages

  1. Clone repo: git clone ssh://aur@aur.archlinux.org/$repo.git
  2. Update PKGBUILD
    1. Edit the file PKGBUILD and make necessary changes, i.e. bumping the version number.
  3. Update checksums in the PKGBUILD file.
    1. Use the tool updpkgsums for this. It can be installed by running sudo pacman -Sy pacman-contrib. It does the build, and writes the checksum into PKGBUILD.
  4. Update .SRCINFO file.
    1. It is generated from PKGBUILD, and required for the AUR. Run makepkg --printsrcinfo > .SRCINFO
  5. Verify before pushing.
    1. Run makepkg -C -f --noconfirm. If it is successful, your package is OK.
  6. Push the changes.

About

πŸ–₯ My dotfiles. Using zsh, zgenom, and chezmoi.

https://jef.buzz

License:MIT License


Languages

Language:Shell 98.9%Language:Vim Script 1.1%