Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/kube/42homebrew
Install Homebrew on 42 sessions
https://github.com/kube/42homebrew
42born2code homebrew setup
Last synced: 3 days ago
JSON representation
Install Homebrew on 42 sessions
- Host: GitHub
- URL: https://github.com/kube/42homebrew
- Owner: kube
- Created: 2016-06-13T14:12:57.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2021-11-14T17:05:02.000Z (about 3 years ago)
- Last Synced: 2025-01-03T01:17:09.064Z (10 days ago)
- Topics: 42born2code, homebrew, setup
- Language: Shell
- Homepage: http://www.42.fr
- Size: 15.6 KB
- Stars: 208
- Watchers: 8
- Forks: 61
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-42 - 42homebrew
- awesome-42-lyon - 42homebrew - Permet d'installer Homebrew (outil de gestion de paquets pour Mac) sur ta session 42 (Table des matières)
README
42 Homebrew
===========### Install Homebrew properly on your 42 session
Works on **ISCSI sessions**, and fixes `flock` issues on **NFS sessions**.
Moves temporary Homebrew data (`Temp` and `Cache`) to `/tmp`, leaving your home directory cleaner.
Install
-------
Run this command from your terminal:```sh
curl -fsSL https://rawgit.com/kube/42homebrew/master/install.sh | zsh
```Homebrew is now ready on your session.
How it works
------------
This script removes your current Homebrew installation in your home if any, and reinstalls it properly from the Homebrew Github repo.Then it simply creates a `.brewconfig.zsh` script in your home directory, and modifies your `.zshrc` to source the script.
It is simple to remove, and you can re-run it multiple times without duplication.
Uninstall
---------
Simply remove these lines from your `.zshrc````sh
# Load Homebrew Fix script
source $HOME/.brewconfig.zsh
```And delete `.brewconfig.zsh` in your home directory.