Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gildesmarais/dotfiles
🤯 Collection of files whose names are supposed to begin with a dot. But they don't in this repo. rcm handles the dots…
https://github.com/gildesmarais/dotfiles
asdf dotfiles homebrew macos rcm starship topgrade wezterm-config zsh
Last synced: 4 months ago
JSON representation
🤯 Collection of files whose names are supposed to begin with a dot. But they don't in this repo. rcm handles the dots…
- Host: GitHub
- URL: https://github.com/gildesmarais/dotfiles
- Owner: gildesmarais
- Created: 2014-09-14T15:10:47.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2024-07-27T11:43:30.000Z (7 months ago)
- Last Synced: 2024-07-31T20:50:57.942Z (6 months ago)
- Topics: asdf, dotfiles, homebrew, macos, rcm, starship, topgrade, wezterm-config, zsh
- Language: Vim Script
- Homepage:
- Size: 2.38 MB
- Stars: 3
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- jimsghstars - gildesmarais/dotfiles - 🤯 Collection of files whose names are supposed to begin with a dot. But they don't in this repo. rcm handles the dots… (Vim Script)
README
# dotfiles
This repository contains config files to set up my systems and keep them in sync.
## Getting started
- Install [homebrew](https://brew.sh/)
- `brew install rcm topgrade`
- `git clone [email protected]:gildesmarais/dotfiles.git ~/.dotfiles && cd ~/.dotfiles && rcup -v`
- `topgrade`
- `cd ~/.dotfiles && brew bundle`
- Setup vim:```sh
mkdir -p ~/.vim/backups
mkdir -p ~/.vim/swaps
mkdir -p ~/.vim/undo
```## macOS homebrew
After symlinking the Brewfile, install the specified applications with:
```sh
brew bundle install --global
```## macOS Screenshot
1. Open Screenshot App, Options, Location -> Other Location
2. `defaults write com.apple.screencapture disable-shadow -bool true`
3. Drag "Location" to Dock, open as Fan## macOS Configure sudo to auth with TouchID
```sh
sudo vim /etc/pam.d/sudo
```Add as first line:
```ini
auth sufficient pam_tid.so
```## ZSH Setup
1. `git clone --recursive https://github.com/sorin-ionescu/prezto.git "${ZDOTDIR:-$HOME}/.zprezto"`
2. `mkdir -p ~/.zprezto-contrib`
3. open a fresh `zsh` shell## VSCode
1. Enable key repeat on hold: `defaults write com.microsoft.VSCode ApplePressAndHoldEnabled -bool false`
## macOS: use another default text editor
```sh
brew install duti python-yq
curl "https://raw.githubusercontent.com/github/linguist/master/lib/linguist/languages.yml" \
| yq -r "to_entries | (map(.value.extensions) | flatten) - [null] | unique | .[]" \
| xargs -L 1 -I "{}" duti -s com.microsoft.VSCode {} all
```Find other editors by `lsappinfo | grep 'bundleID="' | cut -d'"' -f2 | sort`.
Source: