mirror of
https://github.com/DictXiong/dotfiles.git
synced 2026-09-21 21:56:52 +08:00
Compare commits
36 Commits
c48bec2909
...
41cb0fe549
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
41cb0fe549 | ||
|
|
f67ed12e49 | ||
| 5c23484d61 | |||
|
|
5ced7027b6 | ||
|
|
ca64866db9 | ||
|
|
e3dad6d9cc | ||
|
|
aa5c2e86b6 | ||
| 8660bf2f02 | |||
| cac108d5ac | |||
| 5e7c3293ae | |||
| 6fa601c458 | |||
| b891e4ed07 | |||
| 7e33f92e51 | |||
| 3e425f45e0 | |||
| e9e8a5fede | |||
| 74bffde6cf | |||
| b170d06d9a | |||
| cb70dc7cdc | |||
| 9cf6d65692 | |||
| a7074fc940 | |||
| 4e3ce4f9d9 | |||
| ed98a56e05 | |||
| e79b092054 | |||
| f45f7e415c | |||
| 9f1bc8f0fb | |||
| ee44717891 | |||
| d283671f25 | |||
| bdef3b52d1 | |||
| c86cc85e24 | |||
| 426e97c10e | |||
| e1f0ec0ebc | |||
| 8dbb310e02 | |||
| 8865dee1e9 | |||
| 65d690f47c | |||
| ecf652ad7b | |||
| 86670306af |
57
README.md
57
README.md
@ -1,58 +1 @@
|
|||||||
# dotfiles
|
# dotfiles
|
||||||
|
|
||||||
My personal shell environment and command-line tools, mainly for Linux and
|
|
||||||
NixOS systems.
|
|
||||||
|
|
||||||
It includes configurations for zsh, tmux, Vim, Git, and SSH, together with a
|
|
||||||
few utility scripts used across my machines.
|
|
||||||
|
|
||||||
## Highlights
|
|
||||||
|
|
||||||
- `riot`: an SSH wrapper with host presets, jump hosts, port forwarding, tmux
|
|
||||||
sessions, and optional GPG agent forwarding.
|
|
||||||
- `sagt`: an SSH/GPG agent manager with support for PIV, 1Password, and
|
|
||||||
OpenPGP smart cards.
|
|
||||||
- zsh aliases and completions for the bundled tools.
|
|
||||||
- tmux and Vim configurations with plugin setup.
|
|
||||||
- automatic updates with selectable `main`, `dev`, and `latest` channels.
|
|
||||||
|
|
||||||
## Installation
|
|
||||||
|
|
||||||
Quick install:
|
|
||||||
|
|
||||||
```sh
|
|
||||||
curl -fsSL https://dotfiles.cn | bash
|
|
||||||
```
|
|
||||||
|
|
||||||
Alternatively, clone the repository so the installer can be reviewed first:
|
|
||||||
|
|
||||||
```sh
|
|
||||||
git clone https://github.com/DictXiong/dotfiles.git ~/dotfiles
|
|
||||||
~/dotfiles/install.sh -a
|
|
||||||
```
|
|
||||||
|
|
||||||
The installer adds small source/include entries to the existing zsh, tmux,
|
|
||||||
Vim, and Git configuration files instead of replacing them entirely.
|
|
||||||
|
|
||||||
## Useful commands
|
|
||||||
|
|
||||||
```sh
|
|
||||||
riot --help # show the SSH wrapper manual
|
|
||||||
sagt # start or reuse an ssh-agent
|
|
||||||
sagt gpg # use gpg-agent as SSH agent
|
|
||||||
sagt gpg-pin # cache the smart-card signature PIN
|
|
||||||
dfs update # update dotfiles from the selected channel
|
|
||||||
dfs config # edit machine-specific settings
|
|
||||||
```
|
|
||||||
|
|
||||||
## Configuration
|
|
||||||
|
|
||||||
Machine-specific settings can be placed in:
|
|
||||||
|
|
||||||
```text
|
|
||||||
~/.config/dotfiles/env
|
|
||||||
~/.config/riot-config.sh
|
|
||||||
```
|
|
||||||
|
|
||||||
This is a personal dotfiles repository. Review the configuration, SSH keys,
|
|
||||||
and installation script before using it on another machine.
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user