Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/blankeos/dotfiles
🔧 .config files for my basic WSL/Mac Setups (Might separate later)
https://github.com/blankeos/dotfiles
Last synced: 4 days ago
JSON representation
🔧 .config files for my basic WSL/Mac Setups (Might separate later)
- Host: GitHub
- URL: https://github.com/blankeos/dotfiles
- Owner: Blankeos
- Created: 2023-11-03T23:56:37.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-08-01T19:58:49.000Z (3 months ago)
- Last Synced: 2024-08-01T22:16:14.962Z (3 months ago)
- Language: Lua
- Size: 72.3 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
🐟 Carlo's Dotfiles & New Machine Setup
This repository contains instructions for setting up configs and other installations
on my machines.This guide will be mainly **MacOS** only moving forward but will provide alternative guides for Windows as
well.Table of Contents
- [🔤 Install Fonts](#%F0%9F%94%A4-install-fonts)
- [🖥️ MacOS Setup](#%F0%9F%96%A5%EF%B8%8F-macos-setup)
- [1. Install](#1-install)
- [2. Setup Git](#2-setup-git)
- [3. Setup Starship](#3-setup-starship)
- [Additional](#additional)## 🔤 Install Fonts
My favorite font is **Zed Mono** ⚡️.
| Font | Description |
| ---------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [Zed Mono](https://github.com/zed-industries/zed-fonts/releases) | Official Zed Mono font by zed-industries |
| [ZedMono Nerd Font](/fonts/ZedMonoNerdFont) | I have my own copy at `"/fonts/ZedMono Nerd Font"`. Downloaded from [cabrinha's fork](https://github.com/cabrinha/nerd-fonts/tree/zed-fonts/patched-fonts/ZedMono) of [ryanoasis/nerd-fonts](https://github.com/ryanoasis/nerd-fonts). You can also download from ryanoasis's repo. I only downloaded the "Extended" |> [!IMPORTANT]
> Use `ZedMono NF Extended` in VSCode or Zed (This is the unique name in FontBook)
>
> If that doesn't work, use `Zed Mono Nerd Font`, but make sure that you only downloaded the Extended style.
>
> Use `ZedMono Nerd Font` and `Extended` for Terminal or iTerm.## 🖥️ MacOS Setup
#### 1. Install
- Install [Brew](https://brew.sh/)
```
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
```- Install [Starship](https://starship.rs/)
```sh
curl -sS https://starship.rs/install.sh | sh
```- Install [OhMyZsh](https://ohmyz.sh/#install)
```sh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
```- Install [iTerm2](https://iterm2.com/)
```sh
brew install iTerm2 # Renders the Nerd Fonts better.
```#### 2. Setup Git
```sh
# Install the GitHub CLI
brew install gh# Login
gh auth login# (Additionally) For work if you have multiple accounts
gh auth setup-git # Only need to run once
gh auth switch # switch between logged in accounts.
gh auth status # check which account is logged in.
```#### 3. Setup Starship
```sh
# 1. Run
mkdir -p ~/.config && touch ~/.config/starship.toml# 2. Paste contents of `starship.toml` from here to ~/.config/starship.toml
```#### Additional
⭐️ MacOS Improvements
- [x] Better Backspace on **Terminal** > **Settings** > **Profile** > **Keyboard** > ✅ Use Option as Meta key.
- [x] Better backspace on **iTerm2** > **Settings** > **Profile** > **Keys** > **Left Option Key** > ✅ Esc+
- [x] Install [Rectangle](https://rectangleapp.com/) - For window management (Choose the 'Rectangle' keybind setting).
```sh
brew install --cask rectangle
```
- [x] Install [Mac Mouse Fix](https://github.com/noah-nuebling/mac-mouse-fix) - I think it's better than LogiOptions+.```sh
brew install --cask mac-mouse-fix
```💿 Development-specific installations
- [x] PNPM - Better node package manager for some projects.
```sh
npm install --global pnpm
```- [x] Node - I prefer to install node via fnm (Nvm but built with Rust).
```sh
brew install fnm
fnm install 20
fnm use 20
```- [x] [Bun](https://bun.sh/docs/installation) - Best js/ts runtime & package manager (for me).
```sh
curl -fsSL https://bun.sh/install | bash # for macOS, Linux, and WSL
```- [x] XZ - Need to install this before installing a pyenv version.
```sh
brew install xz
```
- [x] Python - I prefer to install python via pyenv.```sh
brew install pyenv
pyenv install 3.12
pyenv global 3.12
```- [x] Go - My compiled language for backend services.
```sh
brew install go
```- [x] Rust - My preferred low-level compiled language.
```sh
curl --proto '=https' --tlsv1.2 https://sh.rustup.rs -sSf | sh
```- [x] [Gleam](https://gleam.run/getting-started/installing/) - My preferred functional programming language on the BEAM VM.
```sh
brew install gleam
```- [x] Defold - My preferred game engine.
```sh
brew install --cask defold
```- [x] Android Platform Tools - For `adb devices` and `adb logcat -s defold` (useful for debugging Defold games). Can actually also be installed with Android Studio.
```sh
brew install android-platform-tools
```- [x] Android Studio - For the android simulator and SDK Tools. Haven't used it for anything else.
```sh
brew install --cask android-studio# Install Command-line Tools (Needed by flutter doctor)
- Go to Settings (Cmd + ,) > Language & Frameworks > Android SDK > SDK Tools > Android SDK Command-line Tools (latest) > OK
```- [x] XCode - For the iOS simulator and SDK Tools.
```sh
xcode-select -install # I think you can run any xcode command and it will prompt you to install in App Store.
xcrun xctrace list device # Check all simulators# Install iOS Platform SDK (Needed by flutter doctor)
- Go to XCode > Settings > Components > Platform Support (Make sure iOS is installed)
- Go to XCode > Window > Devices & Simulator (Shift + Command + 2)
```- [x] Java - for `keytool` and android tools with defold.
```sh
brew install openjdk
# Make sure to follow the instructions to symlink it to path so `java -version` works.
```- [x] Cocoapods - For installing dependencies for iOS in mobile projects.
```sh
brew install cocoapods
```- [x] [Flutter](https://docs.flutter.dev/get-started/install) - For mobile development.
```sh
brew tap leoafarias/fvm
brew install fvm
fvm install stable
fvm global stable
export PATH=$PATH:"$HOME/fvm/default/bin" # Add to .zshrc
flutter doctor # Check if it's working.
```
⭐️ Cool Stuff
- [x] Bruno - API Testing - `brew install --cask bruno`
- [x] Handbrake - Video Converter - `brew install --cask handbrake`
- [x] Keycastr - Keypress visualzier - `brew install --cask keycastr`
- [x] Screen Studio - Slick Screen Recorder - `brew install --cask screen-studio`
- [x] Rotato - Cool mockups - `brew install --cask rotato`
- [x] Licecap - GIFs - `brew install --cask licecap`