Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cyrusyip/dotfiles
config files for zsh, vim, tmux, paru, etc., managed by chezmoi.
https://github.com/cyrusyip/dotfiles
chezmoi dotfiles tmux-conf vimrc zshrc
Last synced: 4 months ago
JSON representation
config files for zsh, vim, tmux, paru, etc., managed by chezmoi.
- Host: GitHub
- URL: https://github.com/cyrusyip/dotfiles
- Owner: CyrusYip
- Created: 2022-01-15T13:20:16.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2024-04-13T21:07:07.000Z (10 months ago)
- Last Synced: 2024-04-14T09:55:35.873Z (10 months ago)
- Topics: chezmoi, dotfiles, tmux-conf, vimrc, zshrc
- Language: Shell
- Homepage:
- Size: 457 KB
- Stars: 10
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# dotfiles
This repo contains dotfiles and useful scripts (`dot_local/bin`) and is managed by [chezmoi](https://github.com/twpayne/chezmoi).
## Screenshots
Please see .
## Script Descriptions
Scripts are in [dot_local/bin](dot_local/bin).
| Name | Description |
|-------------------|-------------------------------------------|
| 256colors-test | 256 colors test for terminal emulator |
| download-nvim-dev | download Nvim development build for Linux |
| file2utf8 | convert file in other encoding to utf-8 |
| optimize-android | activate Shizuku and Brevent |
| truecolor-test | true color test for terminal emulator |
| vf | open file with any encoding in vim |
| yito | diff tool for archlinuxcn repo |## Installation
It's recommended to read the dotfiles that interest you and copy what you need, because my dotfiles may not meet your needs. If you want to try these dotfiles, install [chezmoi](https://www.chezmoi.io/install/) and [git](https://git-scm.com/downloads), and choose one of the installation methods. You may get different dotfiles on different machines because chezmoi uses [templates](https://www.chezmoi.io/user-guide/templating/) to change the contents of a file depending on the environment(operating system, hostname, etc).
### Method 1: install all dotfiles
With this method, all dotfiles will be installed in your home directory, and existing dotfiles will be overwritten.
```bash
# download dotfiles
chezmoi init CyrusYip
# see what will happen
chezmoi apply --dry-run --verbose
# install dotfiles
chezmoi apply --verbose
# install additional dependencies (optional)
chezmoi cd
./install-deps.sh
```### Method 2: merge
With this method, you manually merge existing dotfiles and my dotfiles with `vimdiff`. Vim needs to be installed in this method. Don't use this method if you are not familiar with `vimdiff`.
```bash
# download dotfiles
chezmoi init CyrusYip
# compare and get what you needs
chezmoi merge-all
# install additional dependencies (optional)
chezmoi cd
./install-deps.sh
```## Home Manager How-to
```bash
# update flakes
nix flake update ~/.config/nixpkgs
# build and activate configuration
home-manager switch --flake ~/.config/nixpkgs/
```## License
This repository is licensed under [unlicense](LICENSE). Attribution is not required but is appreciated.