diff options
| author | Ahmed Abdelhalim <[email protected]> | 2025-11-08 15:40:45 +0100 |
|---|---|---|
| committer | Ahmed Abdelhalim <[email protected]> | 2025-11-08 15:40:45 +0100 |
| commit | a1383359e02dd1fed6ebe466e78397abb42c35bc (patch) | |
| tree | b2257d70cc65579eb2a3932b5be957dd939f7bca /MacOS.md | |
| parent | cecf1905fe2dc827ae66955161415bd2a5ae34f4 (diff) | |
Clean up readmes
Diffstat (limited to 'MacOS.md')
| -rw-r--r-- | MacOS.md | 72 |
1 files changed, 4 insertions, 68 deletions
@@ -1,4 +1,4 @@ -# RC: [RUNCOM](https://en.wikipedia.org/wiki/RUNCOM) +# MacOS ## Prerequisites @@ -14,61 +14,22 @@ brew tap Homebrew/bundle brew bundle ``` -## Installation +### Extras -### Essentials - -```bash -cd ~/.rc -stow --no-folding . -git remote set-url origin [email protected]:~a14m/.rc -``` - -### GPG smart key - -GPG setup - -```bash -mkdir -p ~/.gnupg -chmod 700 ~/.gnupg -sudo ln -sf ~/.rc/.gnupg/pinentry-wrapper /usr/local/bin/pinentry-wrapper -ln -sf ~/.rc/.gnupg/gpg-agent.conf ~/.gnupg/gpg-agent.conf -ln -sf ~/.rc/.gnupg/sshcontrol ~/.gnupg/sshcontrol - -gpg-connect-agent killagent /bye -gpg-connect-agent updatestartuptty /bye -gpg-connect-agent /bye -gpgconf --kill all -``` - -Load pgp key from card and trust it - -```bash -gpg --edit-card -> fetch - -gpg --edit-key [email protected] -> trust -``` - -### iTerm2 profiles +#### iTerm2 profiles ```bash mkdir -p ~/Library/Application\ Support/iTerm2/DynamicProfiles \ && cp ~/.config/iterm2/profiles.json ~/Library/Application\ Support/iTerm2/DynamicProfiles/ ``` -### MacOS (extras) - -Set `Bash` shell as default +#### `Bash` shell as default ```bash sudo bash -c 'echo $(brew --prefix)/bin/bash >> /etc/shells' chsh -s $(brew --prefix)/bin/bash ``` -### Languages - #### Setup ruby/rbenv ```bash @@ -101,31 +62,6 @@ nvm install nvm alias default ``` -### Tools - -#### Git Crypt - -```bash -brew install git-crypt -source ~/.bash_profile -cd ~/.rc -git-crypt unlock -``` - -#### Setup password store - -```bash -git clone [email protected]:a14m/.pass ~/.password-store -``` - -#### [vim](https://git.sr.ht/~a14m/.vim) - -```bash -git clone [email protected]:~a14m/.vim ~/.vim -ln -sf ~/.vim/.vimrc ~/.vimrc -vim +PlugInstall -``` - #### Mutt email/links browser ```bash |
