This is my no fuss terminal setup. No plugin manager; all self-managed through git.
- 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! 🚀
With these tools installed, you'll get preconfigured aliasing.
Setting up proper permissions for SSH keys.
chmod 700 ~/.ssh/
chmod 644 ~/.ssh/config ~/.ssh/known_hosts $public_key
chmod 600 $private_key
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.
- Clone repo:
git clone ssh://aur@aur.archlinux.org/$repo.git
- Update
PKGBUILD
- Edit the file
PKGBUILD
and make necessary changes, i.e. bumping the version number.
- Edit the file
- Update checksums in the PKGBUILD file.
- Use the tool
updpkgsums
for this. It can be installed by runningsudo pacman -Sy pacman-contrib
. It does the build, and writes the checksum intoPKGBUILD
.
- Use the tool
- Update
.SRCINFO
file.- It is generated from
PKGBUILD
, and required for the AUR. Runmakepkg --printsrcinfo > .SRCINFO
- It is generated from
- Verify before pushing.
- Run
makepkg -C -f --noconfirm
. If it is successful, your package is OK.
- Run
- Push the changes.