Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/caius/zshrc
My ZSH configs and dotfiles
https://github.com/caius/zshrc
Last synced: about 1 month ago
JSON representation
My ZSH configs and dotfiles
- Host: GitHub
- URL: https://github.com/caius/zshrc
- Owner: caius
- Created: 2011-11-08T20:20:44.000Z (about 13 years ago)
- Default Branch: main
- Last Pushed: 2022-01-10T20:43:53.000Z (almost 3 years ago)
- Last Synced: 2024-10-18T19:33:21.620Z (about 2 months ago)
- Language: Shell
- Homepage: http://caius.name/
- Size: 460 KB
- Stars: 113
- Watchers: 5
- Forks: 8
- Open Issues: 0
-
Metadata Files:
- Readme: Readme.md
Awesome Lists containing this project
- favorite-link - 我的 ZSH 配置和 dotfiles。
README
# Caius' dotfiles
This contains [Caius][]' shell configuration. It's managed/rolled out through [chezmoi][], with credentials stored in [1Password][]. Written specifically for me, and you likely don't want to lift it verbatim. Feel free to however.
Please don't ridicule me for the contents, and yes I **really** am that lazy in my shell.
[Caius]: http://caius.name/
[chezmoi]: https://chezmoi.io/
[1Password]: https://1password.com/## Installation
0. Install Chezmoi
```shell
$ brew install chezmoi
```0. Initialize from this repository
```shell
chezmoi init https://github.com/caius/dotfiles
```0. Diff to check what will be rolled out on the machine
```shell
chezmoi diff
```0. When happy with changes, apply them to machine
```shell
chezmoi apply
```## Vendored dependencies
`./run_once_zsh_plugins.sh` installs specific versions of ZSH plugins. Editing the file will cause it to be re-run on `chezmoi apply` again, updating the given plugin.
(I spent far too much time fighting `git subtree` and `chezmoi` to make it work, but `chezmoi` kept flipping out at README.md being an unknown file type, even if I ignored it. Sometimes adding some bash is the simplest solution.)
## Licence
Copyright (c) 2011 Caius Durling
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.