157 lines
4.3 KiB
Markdown
157 lines
4.3 KiB
Markdown
# New Mac Setup
|
|
|
|
Clone the repo to your home directory and run `install.sh` or manually copy the files you want. Check the install script to see which file it overwrites, but backup your zsh and bash config files if you want to.
|
|
|
|
Scripts in .rd.c are executed when you create a new shell. To disable them rename them so they do not end in .sh
|
|
|
|
Install Rosetta 2
|
|
```shell
|
|
softwareupdate --install-rosetta --agree-to-license
|
|
```
|
|
|
|
## Stuff from Brew
|
|
|
|
### Browsers
|
|
Here are some options for additional web browsers.
|
|
```shell
|
|
brew install links
|
|
brew install lynx
|
|
brew install --cask arc
|
|
brew install --cask brave-browser
|
|
brew install --cask chrome-devtools
|
|
brew install --cask chrome-remote-desktop-host
|
|
brew install --cask chromium
|
|
brew install --cask microsoft-edge
|
|
brew install --cask firefox
|
|
brew install --cask google-chrome
|
|
brew install --cask opera
|
|
brew install --cask opera-gx
|
|
brew install --cask opera-neon
|
|
```
|
|
|
|
### Terminal / Shell
|
|
Here are some recommended apps to make your terminal experience better on a mac. Powershell, cowsay, and fortune are obviously optional, but the rest are definitely recommended.
|
|
```shell
|
|
brew install bat
|
|
brew install cowsay
|
|
brew install fortune
|
|
brew install fzf
|
|
brew install tmux
|
|
brew install zoxide
|
|
brew install zsh-completions
|
|
brew install --cask iterm2
|
|
brew install --cask powershell
|
|
```
|
|
|
|
### Development
|
|
Optional development utilities.
|
|
```shell
|
|
brew install python
|
|
brew install --cask android-studio
|
|
brew install --cask core-data-editor
|
|
brew install --cask dotnet-sdk
|
|
brew install --cask godot godot-mono
|
|
brew install --cask intelli-idea-ce
|
|
brew install --cask vagrant
|
|
brew install --cask visual-studio-code
|
|
brew install --cask open-in-code
|
|
brew install bazel
|
|
brew install protobuf
|
|
brew install bear
|
|
brew install buildifier
|
|
brew install clang-format
|
|
brew install doxygen
|
|
brew install include-what-you-use
|
|
brew install nasm
|
|
brew install ninja
|
|
brew install --cask docker # Docker Desktop
|
|
brew install --cask parallels
|
|
brew install --cask utm
|
|
brew install --cask processing
|
|
brew install --cask beyond-compare
|
|
```
|
|
|
|
### Utilities
|
|
Useful unix utilities
|
|
```shell
|
|
brew install tldr
|
|
brew install dos2unix
|
|
brew install jq
|
|
brew install make
|
|
brew install md5deep hashdeep
|
|
brew install sevenzip
|
|
brew install tree
|
|
```
|
|
|
|
### Internet
|
|
Internet stuff
|
|
```shell
|
|
brew install wget
|
|
brew install --cask dropbox
|
|
brew install awscli
|
|
brew install --cask google-drive
|
|
brew install internetarchive
|
|
brew install f3
|
|
brew install ncftp
|
|
brew install nmap
|
|
brew install --cask jdownloader
|
|
brew install --cask angry-ip-scanner
|
|
```
|
|
|
|
### Java / JDK
|
|
Here are a few jdk options. You can also append specific versions.
|
|
```shell
|
|
brew install --cask microsoft-openjdk
|
|
brew install openjdk
|
|
brew install --cask adoptopenjdk
|
|
brew install --cask gamajdk
|
|
brew install --cask graalvm-jdk
|
|
brew install --cask oracle-jdk
|
|
brew install --cask sapmachine-jdk
|
|
brew install --cask semeru-jdk
|
|
```
|
|
|
|
### Fonts
|
|
Use these to add fonts for your terminal or code editor without having to find them online. The Nerd Font packages have extra symbols and ligatures.
|
|
```shell
|
|
brew install --cask font-bigblue-terminal-nerd-font
|
|
brew install --cask font-caskaydia-cov-nerd-font
|
|
brew install --cask font-caskaydia-mono-nerd-font
|
|
brew install --cask font-comic-shanns-mono-nerd-font
|
|
brew install --cask font-fira-code
|
|
brew install --cask font-fira-code-nerd-font
|
|
brew install --cask font-gohufont-nerd-font
|
|
brew install --cask font-heavy-data-nerd-font
|
|
brew install --cask font-iosevka-nerd-font
|
|
brew install --cask font-iosevka-term-nerd-font
|
|
brew install --cask font-iosevka-term-slab-nerd-font
|
|
brew install --cask font-jetbrains-mono-nerd-font
|
|
brew install --cask font-roboto-mono-nerd-font
|
|
brew install --cask font-space-mono-nerd-font
|
|
brew install --cask font-symbols-only-nerd-font
|
|
brew install --cask font-ubuntu-mono-nerd-font
|
|
brew install --cask font-ubuntu-nerd-font
|
|
brew install --cask font-ubuntu-sans-nerd-font
|
|
brew install --cask font-victor-mono-nerd-font
|
|
```
|
|
|
|
# Backing up command history.
|
|
|
|
Appends to history
|
|
```shell
|
|
cat ../.zsh_history history/all.md | LC_ALL=C sort -u -o history/all.md
|
|
```
|
|
|
|
Refresh history after modifying
|
|
```shell
|
|
cat history/all.md| LC_ALL=C sort -u -o history/all.md
|
|
```
|
|
|
|
## TODO
|
|
|
|
* Look into lesspipe from .bashrc and make a script in .rc.d
|
|
* Move debian_chroot, color_prompt, and PS1 from .bashrc to .rc.d
|
|
* Move dircolors stuff from .bashrc to .rc.d
|
|
* Move content from ~/.bash_aliases to .rc.d
|
|
|