Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/milldr/setup
https://github.com/milldr/setup
Last synced: 12 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/milldr/setup
- Owner: milldr
- Created: 2023-12-07T18:20:46.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-05-14T15:10:56.000Z (6 months ago)
- Last Synced: 2024-10-07T01:22:05.698Z (about 1 month ago)
- Language: Shell
- Size: 64.5 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Setup
This is what I like to install. Stored here for easier access between machines.
### Brew
Install homebrew
```console
curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh > install-brew.sh
./install-brew.sh
```Install all brew packages
```
brew bundle
```### git
1. Copy `.gitconfig`: https://gist.github.com/milldr/37120c982e2a2a7df557bb21a5840712
1. Setup pre-commit```console
DIR=~/.git-template
git config --global init.templateDir ${DIR}
pre-commit init-templatedir -t pre-commit ${DIR}
pre-commit install
```3. Setup `prepare-commit-msg` and `aicommit`: [ref](https://github.com/janniks/prepare-commit-msg/blob/master/README.md)
```console
sh <(curl -s https://raw.githubusercontent.com/janniks/prepare-commit-msg/master/scripts/install.sh)
aicommits hook install
```### Neovim
Neovim is installed in Brewfile. Copy config
```console
cp -r config/nvim ~/.config/
```Install [vim-plug](https://github.com/junegunn/vim-plug#neovim)
```console
sh -c 'curl -fLo "${XDG_DATA_HOME:-$HOME/.local/share}"/nvim/site/autoload/plug.vim --create-dirs \
https://raw.githubusercontent.com/junegunn/vim-plug/master/plug.vim'
```Install plugins. Start neovim and run `PlugInstall`
### iterm2
Setup iTerm2 to automatically load and update settings:
```console
./iterm.sh
```### zsh
Copy config
```console
cp config/zshrc ~/.zshrc
```### python
Upgrade pip and install all requirements
```console
python3 -m pip install --upgrade pip
pip3 install -r requirements.txt
```### make
```console
PATH="$HOMEBREW_PREFIX/opt/make/libexec/gnubin:$PATH"
```### aicommit
https://github.com/Nutlope/aicommits
```console
npm install -g aicommits
```### Additional Setup
Harvest: https://apps.apple.com/us/app/harvest/id506189836?ls=1&mt=12
Rosetta is required for AWS VPN:
```console
sudo softwareupdate --install-rosetta
```### Favorites, bookmarks
- [excalidraw](https://app.excalidraw.com/)
- [ChatGPT](https://chat.openai.com/)