https://github.com/ners/macos
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/ners/macos
- Owner: ners
- Created: 2020-11-02T08:13:36.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2020-11-02T08:31:50.000Z (over 5 years ago)
- Last Synced: 2024-12-27T16:24:33.428Z (over 1 year ago)
- Language: Shell
- Size: 39.1 KB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
macOS setup
===========
# Install Brew
```sh
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
```
# Switch to Brew-provided ZSH
```sh
brew install zsh zsh-syntax-highlighting
echo /usr/local/bin/zsh | sudo tee -a /etc/shells
wget -O ~/.zshrc https://git.grml.org/f/grml-etc-core/etc/zsh/zshrc
git clone https://github.com/sindresorhus/pure.git /tmp/pure
cp /tmp/pure/async.zsh /usr/local/share/zsh/site-functions/async
cp /tmp/pure/pure.zsh /usr/local/share/zsh/site-functions/prompt_pure_setup
for f in .zshrc .zshrc.local .profile ; do cp $f ~/$f ; done
chsh -s /usr/local/bin/zsh
```
# Set up Git
```sh
for f in .gitconfig .gitignore ; do cp $f ~/$f ; done
```