summaryrefslogtreecommitdiffstats
path: root/MacOS.md
diff options
context:
space:
mode:
authorAhmed Abdelhalim <[email protected]>2024-03-20 12:24:55 +0100
committerAhmed Abdelhalim <[email protected]>2024-03-20 16:56:42 +0100
commit1d45ff7003a4e26f1f616fa0377f0ac49efe1d1d (patch)
treed23e63cd5b1224c6d561b03a4a644f5780c85e42 /MacOS.md
parent1772abab5b54b4fc0021c9d9d8116890b98c476c (diff)
Add stow package and update the macOS instructions
Diffstat (limited to 'MacOS.md')
-rw-r--r--MacOS.md58
1 files changed, 1 insertions, 57 deletions
diff --git a/MacOS.md b/MacOS.md
index 3d9ceed..6264f1b 100644
--- a/MacOS.md
+++ b/MacOS.md
@@ -13,33 +13,8 @@ brew bundle
# Installation :
## Essentials
```bash
-ln -sf ~/.rc/.bash_profile ~/.bash_profile
-ln -sf ~/.rc/.editorconfig ~/.editorconfig
-ln -sf ~/.rc/.inputrc ~/.inputrc
-ln -sf ~/.rc/.screenrc ~/.screenrc
-ln -sf ~/.rc/.tmux.conf ~/.tmux.conf
-ln -sf ~/.rc/.tmux-osx.conf ~/.tmux-osx.conf
-ln -sf ~/.rc/.amethyst.yml ~/.amethyst.yml
-
-ln -sf ~/.rc/.gitconfig ~/.gitconfig
-ln -sf ~/.rc/.gitconfig.work.inc ~/.gitconfig.work.inc
-ln -sf ~/.rc/.gitignore_global ~/.gitignore_global
-
-mkdir -p ~/.ssh
-ln -sf ~/.rc/.ssh/config ~/.ssh/config
-
-mkdir -p ~/.config/htop
-ln -sf ~/.rc/.config/htop/htoprc ~/.config/htop/htoprc
-
-mkdir -p ~/.config/tmuxinator
-ln -sf ~/.rc/.config/tmuxinator/personal.yml ~/.config/tmuxinator/personal.yml
-ln -sf ~/.rc/.config/tmuxinator/spc.yml ~/.config/tmuxinator/spc.yml
-ln -sf ~/.rc/.config/tmuxinator/mb.yml ~/.config/tmuxinator/mb.yml
-ln -sf ~/.rc/.config/tmuxinator/infra.yml ~/.config/tmuxinator/infra.yml
-
-ln -sf ~/.rc/.ctags ~/.ctags
-
cd ~/.rc
+stow --no-folding .
git remote remove origin
git remote add origin [email protected]:~a14m/.rc
```
@@ -80,24 +55,15 @@ chsh -s $(brew --prefix)/bin/bash
- Setup ruby/rbenv
```bash
brew install rbenv
-mkdir -p ~/.bundle
-ln -sf ~/.rc/.bundle/config ~/.bundle/config
-
git clone https://github.com/tpope/rbenv-ctags.git ~/.rbenv/plugins/rbenv-ctags
git clone https://github.com/sstephenson/rbenv-default-gems.git ~/.rbenv/plugins/rbenv-default-gems
-
-ln -sf ~/.rc/.gemrc ~/.gemrc
-ln -sf ~/.rc/.rbenv/default-gems ~/.rbenv/default-gems
rbenv install $(cat ~/.rc/.rbenv/version)
-ln -sf ~/.rc/.rbenv/version ~/.rbenv/version
```
- Setup python
```bash
brew install pyenv
-mkdir -p ~/.pyenv
pyenv install $(cat ~/.rc/.pyenv/version)
-ln -sf ~/.rc/.pyenv/version ~/.pyenv/version
```
- Setup GO
@@ -114,11 +80,7 @@ curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
```bash
brew install nvm
mkdir -p ~/.nvm
-ln -sf ~/.rc/.npmrc ~/.npmrc
-ln -sf ~/.rc/.nvmrc ~/.nvmrc
-ln -sf ~/.rc/.nvm/default-packages ~/.nvm/default-packages
exec $SHELL -l
-
nvm install
nvm alias default
```
@@ -157,27 +119,9 @@ sudo apt install rlwrap xsel -y
```bash
brew install neomutt
brew install links
-
-mkdir -p ~/.config/neomutt
-ln -sf ~/.rc/.neomuttrc ~/.neomuttrc
-ln -sf ~/.rc/.config/neomutt/settings ~/.config/neomutt/settings
-ln -sf ~/.rc/.config/neomutt/colors ~/.config/neomutt/colors
-ln -sf ~/.rc/.config/neomutt/mappings ~/.config/neomutt/mappings
-ln -sf ~/.rc/.config/neomutt/mailcap ~/.config/neomutt/mailcap
-
-mkdir -p ~/.links
-ln -sf ~/.rc/.links/links.cfg ~/.links/links.cfg
-```
-
-- WTFUtil
-```bash
-mkdir -p ~/.config/wtf
-ln -sf ~/.rc/.config/wtf/config.yml ~/.config/wtf/config.yml
```
- Shell GPT client
```bash
pip3 install shell-gpt
-mkdir -p ~/.config/shell_gpt
-ln -sf ~/.rc/.config/shell_gpt/.sgptrc ~/.config/shell_gpt/.sgptrc
```