https://github.com/vrslev/dotfiles
https://github.com/vrslev/dotfiles
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/vrslev/dotfiles
- Owner: vrslev
- License: mit
- Created: 2021-07-26T20:35:02.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2024-05-28T21:58:48.000Z (about 1 year ago)
- Last Synced: 2024-05-31T15:26:41.523Z (about 1 year ago)
- Language: Shell
- Homepage:
- Size: 323 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Lev's dotfiles
I use macOS, [Visual Studio Code](https://code.visualstudio.com), [Ghostty](https://ghostty.org/), [Fish](https://fishshell.com).
Here are:
- Scripts at [`bin`](bin).
- Always-fresh-and-tidy configuration for development tools at [`home`](home). All the files are [linked](link-config-files) to user home directory. Dev tools and environment are defined in [`Brewfile`](Brewfile) and [mise config](home/.config/mise/config.toml)
- macOS defaults at [`set-macos-defaults`](set-macos-defaults) that make using it snappier and less annoying.## Getting started
Open terminal and install [Homebrew](https://brew.sh):
```sh
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
```Install [mise](https://mise.jdx.dev):
```sh
brew install mise
```Set up Fish:
```sh
/opt/homebrew/bin/brew install fish
sudo /bin/bash -c "echo /opt/homebrew/bin/fish >>/etc/shells"
chsh -s /opt/homebrew/bin/fish
```Open another terminal tab and clone this repository:
```sh
mkdir code
git clone https://github.com/vrslev/dotfiles code/dotfiles
cd code/dotfiles
```Install dependencies for the first time:
```sh
eval (/opt/homebrew/bin/brew shellenv)
/opt/homebrew/bin/brew bundle --file config/Brewfile --no-restart --no-lock
mise up --yes --jobs=16
```Install dotfiles:
```sh
./link-config-files
./sync-deps
sudo ./set-macos-defaults
```Restart the computer to apply macOS defaults.