diff options
Diffstat (limited to 'MacOS.md')
| -rw-r--r-- | MacOS.md | 72 |
1 files changed, 39 insertions, 33 deletions
@@ -1,4 +1,7 @@ -# Prerequisites : +# RC: [RUNCOM](https://en.wikipedia.org/wiki/RUNCOM) + +## Prerequisites + Install xcode and homebrew ```bash @@ -10,8 +13,11 @@ brew analytics off brew tap Homebrew/bundle brew bundle ``` -# Installation : -## Essentials + +## Installation + +### Essentials + ```bash cd ~/.rc stow --no-folding . @@ -19,8 +25,10 @@ git remote remove origin git remote add origin [email protected]:~a14m/.rc ``` -## GPG smart key -- GPG setup +### GPG smart key + +GPG setup + ```bash mkdir -p ~/.gnupg chmod 700 ~/.gnupg @@ -34,7 +42,8 @@ gpg-connect-agent /bye gpgconf --kill all ``` -- Load pgp key from card and trust it +Load pgp key from card and trust it + ```bash gpg --edit-card > fetch @@ -43,16 +52,19 @@ gpg --edit-key [email protected] > trust ``` -## MacOS (extras) -- Bash shell default +### MacOS (extras) + +Set `Bash` shell as default + ```bash sudo bash -c 'echo $(brew --prefix)/bin/bash >> /etc/shells' chsh -s $(brew --prefix)/bin/bash ``` -## Languages +### Languages + +#### Setup ruby/rbenv -- Setup ruby/rbenv ```bash brew install rbenv git clone https://github.com/tpope/rbenv-ctags.git ~/.rbenv/plugins/rbenv-ctags @@ -60,23 +72,27 @@ git clone https://github.com/sstephenson/rbenv-default-gems.git ~/.rbenv/plugins rbenv install $(cat ~/.rc/.rbenv/version) ``` -- Setup python +#### Setup python + ```bash brew install pyenv pyenv install $(cat ~/.rc/.pyenv/version) ``` -- Setup GO +#### Setup GO + ```bash brew install golang ``` -- Setup rust +#### Setup rust + ```bash curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh ``` -- Setup node/nvm +#### Setup node/nvm + ```bash brew install nvm mkdir -p ~/.nvm @@ -85,9 +101,10 @@ nvm install nvm alias default ``` -## Tools +### Tools + +#### Git Crypt -- Git Crypt ```bash brew install git-crypt source ~/.bash_profile @@ -95,33 +112,22 @@ cd ~/.rc git-crypt unlock ``` -- Setup password store +#### Setup password store + ```bash git clone [email protected]:a14m/.pass ~/.password-store ``` -- [vim](https://git.sr.ht/~a14m/.vim) +#### [vim](https://git.sr.ht/~a14m/.vim) + ```bash git clone [email protected]:~a14m/.vim ~/.vim ln -sf ~/.vim/.vimrc ~/.vimrc vim +PlugInstall ``` -- [cht.st](https://github.com/chubin/cheat.sh) -```bash -curl https://cht.sh/:cht.sh | sudo tee /usr/local/bin/cht.sh -sudo chmod +x /usr/local/bin/cht.sh -brew install rlwrap -sudo apt install rlwrap xsel -y -``` - -- Mutt email/links browser -```bash -brew install neomutt -brew install links -``` +#### Mutt email/links browser -- Shell GPT client ```bash -pip3 install shell-gpt +brew install neomutt brew install links ``` |
