https://github.com/posva/dotfiles
:file_folder: My dotfiles
https://github.com/posva/dotfiles
Last synced: over 1 year ago
JSON representation
:file_folder: My dotfiles
- Host: GitHub
- URL: https://github.com/posva/dotfiles
- Owner: posva
- License: gpl-3.0
- Created: 2013-07-30T13:46:42.000Z (almost 13 years ago)
- Default Branch: main
- Last Pushed: 2024-08-04T15:09:04.000Z (almost 2 years ago)
- Last Synced: 2024-10-17T00:16:56.166Z (over 1 year ago)
- Language: Vim Script
- Homepage:
- Size: 4.22 MB
- Stars: 11
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# dotfiles
## Installation
Clone the repository:
```sh
git clone https://github.com/posva/dotfiles
cd dotfiles
git submodule update --init --recursive
```
- Install dvorak layout
- clean cache: `sudo rm -f /System/Library/Caches/com.apple.IntlDataCache.le*`
- restart
- add dvorak layout keyboard
- Install [hombrew](https://brew.sh)
- Install [Volta](https://volta.sh)
- Run the `install.sh` script
- Install brew clis
- Install brew packages
- Install node with volta and other globals
- Install prezto
- Install Alfred
- Configure alfred to open with ⌘ + ␣
- Configure double ⌘ to open clipboard
- Install [Calm notifications](https://alfred.app/workflows/vitor/calm-notifications/) workflow
- Install [ChatGPT](https://alfred.app/workflows/alfredapp/openai/)
- Install [Switch appearance](https://alfred.app/workflows/alfredapp/switch-appearance/)
- Install [UTF Search](https://alfred.app/workflows/adamkiss/utf-search/)
- Install setapp
## Change computer name
The first two can contain emojis, the last one can't.
- `ComputerName` is the name of the computer in Apple Apps
- `HostName` is the name of the computer in the terminal and ssh (`hostname`).
- `LocalHostName` is the Bonjour name of the computer.
```sh
sudo scutil --set ComputerName "newname"
sudo scutil --set HostName "newname"
# this one can't have emojis
sudo scutil --set LocalHostName "newname"
```
## iTerm2 connfiguration
- Import the profiles.json
- Import the Key bindings
- Change theme
-
## Add calendars
Connect to google account.
## Other apps
- [Krisp](https://app.krisp.ai/apps)
- Disable note taking
- Make default mic
- Zoom
## OBS
Install with `brew install --cask obs``
- slack
- dropbox
## TODO
- add pip install
- Add powerline clone
- install psutil and powerline-status with pip
- Automate OSX defaults
## GPG
```sh
brewi gpg pinentry-mac
```
Create a key [with these instructions](https://docs.github.com/en/authentication/managing-commit-signature-verification/telling-git-about-your-signing-key)
```sh
touch ~/.gnupg/gpg-agent.conf
echo "pinentry-program $(brew --prefix)/bin/pinentry-mac" >> ~/.gnupg/gpg-agent.conf
killall gpg-agent
# test out
echo test | gpg --clearsign
```
Add it [on GitHub](https://github.com/settings/keys).
## Info
- These are my dotfiles, you can install them by launching the `install.sh` script
- You can select what to install with `--only-foo` and `--no-foo`. Launch
`./install.sh -h` to get a full list of options
- Profit!
## TODO
- Test if the new symlink with `~/.config` works
- Can these be set like this or does it need to be manual?`defaults write -g AppleLanguages '("en-FR", "fr-FR", "zh-Hans-FR", "en-GB", "ja-FR")'`
- Get settings about lock screen and screne saver
- NeoVim
- Fix formatting to not use eslint and prettier at the same time
- Add snippets like vscode
- Change `s S` to show workspace symbols instead of the thing on the right
- Fix neotest config to run the tests based on the config or adapt for only `.{spec,test}.[jtm]sx?`
- Fix undercurl [in tmux + nvi](https://gist.github.com/bbqtd/a4ac060d6f6b9ea6fe3aabe735aa9d95)
- remove bin files for spell and write a plugin that automatically generates them on load for nvim