Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jef/dotfiles
🖥 My dotfiles. Using zsh, zgenom, and chezmoi.
https://github.com/jef/dotfiles
dotfiles zsh
Last synced: 3 months ago
JSON representation
🖥 My dotfiles. Using zsh, zgenom, and chezmoi.
- Host: GitHub
- URL: https://github.com/jef/dotfiles
- Owner: jef
- License: mit
- Created: 2019-12-21T06:02:38.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2024-01-23T23:44:03.000Z (about 1 year ago)
- Last Synced: 2024-05-02T05:00:52.657Z (9 months 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 commandHave 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 ownertrustgpg -a --export [email protected] > somename-public-gpg.key
gpg -a --export-secret-keys [email protected] > 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://[email protected]/$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.