Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/shotakitazawa/dotfiles
Dotfiles and script to deploy Dotfiles
https://github.com/shotakitazawa/dotfiles
Last synced: 4 days ago
JSON representation
Dotfiles and script to deploy Dotfiles
- Host: GitHub
- URL: https://github.com/shotakitazawa/dotfiles
- Owner: ShotaKitazawa
- Created: 2016-06-10T08:56:37.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2024-10-30T01:51:15.000Z (16 days ago)
- Last Synced: 2024-10-30T04:00:44.470Z (16 days ago)
- Language: Vim Script
- Homepage:
- Size: 904 KB
- Stars: 6
- Watchers: 2
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# dotfiles
* using [chezmoi](https://github.com/twpayne/chezmoi) for managing dotfiles
* using [aqua](https://github.com/aquaproj/aqua) for managing tools
* using [asdf](https://github.com/asdf-vm/asdf) for managing language-runtimes### requirements
* git
* 1password Account (required in `deploy dotfiles by chezmoi`)### setup
* setup envvars
```bash
export DOTFILES_DIR="$HOME/.ghq/github.com/ShotaKitazawa/dotfiles"
```* clone dotfiles
```bash
git clone [email protected]:ShotaKitazawa/dotfiles $DOTFILES_DIR
```* install initial softwares
```bash
# for macOS (install only Homebrew & chezmoi)
bash $DOTFILES_DIR/setup-mac.sh
```* setup chezmoi
```bash
cat << _EOF_ >> ~/.zshrc# chezmoi
alias chezmoi="chezmoi -S ${DOTFILES_DIR}"
_EOF_
```### apply
* deploy dotfiles by [chezmoi](https://github.com/twpayne/chezmoi)
```bash
chezmoi apply
```### change login shell
* `sudo vim /etc/shells`
```diff
...
+ /usr/local/bin/zsh
```* reboot
* change login shell
```bash
chsh -s /opt/homebrew/bin/zsh
```