https://github.com/jef/dotfiles
🖥 My dotfiles. Using zsh and chezmoi.
https://github.com/jef/dotfiles
dotfiles zsh
Last synced: about 1 year ago
JSON representation
🖥 My dotfiles. Using zsh and chezmoi.
- Host: GitHub
- URL: https://github.com/jef/dotfiles
- Owner: jef
- License: mit
- Created: 2019-12-21T06:02:38.000Z (over 6 years ago)
- Default Branch: main
- Last Pushed: 2025-03-20T15:09:17.000Z (about 1 year ago)
- Last Synced: 2025-04-02T07:11:23.396Z (about 1 year ago)
- Topics: dotfiles, zsh
- Language: Shell
- Homepage: https://jef.buzz
- Size: 251 KB
- Stars: 8
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# dotfiles
This is my no fuss terminal setup. No plugin manager; all self-managed through git.
## Getting started
- Install [Homebrew](http://brew.sh/) if macOS
- Install [yay](https://github.com/Jguer/yay) if Arch Linux
- Install [zsh](https://www.zsh.org/) 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! :rocket:
### Recommended tools
- Install [eza](https://github.com/eza-community/eza) for a colorful `ls`
- Install [bat](https://github.com/sharkdp/bat) for better `cat`
- Install [nvim](https://github.com/neovim/neovim) for better `vim`
With these tools installed, you'll get preconfigured aliasing.
## Notes
### SSH
Setting up proper permissions for SSH keys.
```shell
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).
```shell
# 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](https://gist.github.com/chrisroos/1205934).
## AUR
### Updating packages
1. Clone repo: `git clone ssh://aur@aur.archlinux.org/$repo.git`
1. Update `PKGBUILD`
1. Edit the file `PKGBUILD` and make necessary changes, i.e. bumping the version number.
1. 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`.
1. Update `.SRCINFO` file.
1. It is generated from `PKGBUILD`, and required for the AUR. Run `makepkg --printsrcinfo > .SRCINFO`
1. Verify before pushing.
1. Run `makepkg -C -f --noconfirm`. If it is successful, your package is OK.
1. Push the changes.