Adding Environment setup for brew casks installed.

This commit is contained in:
Bradley 2020-09-13 16:03:22 -07:00
parent 72d4361f5d
commit d970f8a12d

View file

@ -1,24 +1,30 @@
# Coding Environment Setup # Coding Environment Setup
## Packages ## Packages
- Git: `sudo apt install git` - Git: `sudo apt install git`
- Curl: `sudo apt install curl` - Curl: `sudo apt install curl`
- Docker: [Ubuntu Install](https://docs.docker.com/engine/install/ubuntu/#prerequisites) - Docker: [Ubuntu Install](https://docs.docker.com/engine/install/ubuntu/#prerequisites)
- [Install instructions](../master/linux/Docker-Setup.md) - [Install instructions](../master/linux/Docker-Setup.md)
### [Linux Brew](https://docs.brew.sh/Homebrew-on-Linux) ### [Linux Brew](https://docs.brew.sh/Homebrew-on-Linux)
- Install: `/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"` - Install: `/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"`
- Run for Debian or Ubuntu: `sudo apt-get install build-essential curl file git` - Run for Debian or Ubuntu: `sudo apt-get install build-essential curl file git`
#### Adding Homebrew to your PATH and bash shell (If applicable) #### Adding Homebrew to your PATH and bash shell (If applicable)
- `test -d ~/.linuxbrew && eval $(~/.linuxbrew/bin/brew shellenv)` - `test -d ~/.linuxbrew && eval $(~/.linuxbrew/bin/brew shellenv)`
- `test -d /home/linuxbrew/.linuxbrew && eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv)` - `test -d /home/linuxbrew/.linuxbrew && eval $(/home/linuxbrew/.linuxbrew/bin/brew shellenv)`
- If using bash: `test -r ~/.bash_profile && echo "eval \$($(brew --prefix)/bin/brew shellenv)" >>~/.bash_profile` - If using bash: `test -r ~/.bash_profile && echo "eval \$($(brew --prefix)/bin/brew shellenv)" >>~/.bash_profile`
- `echo "eval \$($(brew --prefix)/bin/brew shellenv)" >>~/.profile` - `echo "eval \$($(brew --prefix)/bin/brew shellenv)" >>~/.profile`
#### List of installed casks
- nodeJS: `brew install node`
- postresql: `brew install postgresql`
- sshpass: `brew install hudochenkov/sshpass/sshpass`
- tmux: `brew install tmux`
- zsh: `brew install zsh`
- zsh-autosuggestions: `brew install zsh-autosuggestions`
- zsh-syntax-highlighting: `brew install zsh-syntax-highlighting`
## Dotfiles ## Dotfiles
Dotfiles and editor preferences: https://github.com/BradNut/dotfiles Dotfiles and editor preferences: https://github.com/BradNut/dotfiles
@ -30,29 +36,25 @@ Edit .gitconfig with name and email
## Terminal ## Terminal
### Vim ### Vim
- If not installed: `sudo apt install vim` - If not installed: `sudo apt install vim`
- Configuration: [.vimrc](https://github.com/BradNut/dotfiles/blob/master/.vimrc) - Configuration: [.vimrc](https://github.com/BradNut/dotfiles/blob/master/.vimrc)
#### Things to look into for vim #### Things to look into for vim
- Package manager - Package manager
- [Rainbow Parentheses](https://github.com/frazrepo/vim-rainbow) - [Rainbow Parentheses](https://github.com/frazrepo/vim-rainbow)
### Zsh ### Zsh
*Currently using zsh*
Currently using zsh. - Install if not there
- Linux/Ubunut: `sudo apt install zsh`
- Install if not there: `sudo apt install zsh` - OSX: `brew install zsh`
#### Configuration #### Configuration
- [.zshrc](https://github.com/BradNut/dotfiles/blob/master/.zshrc) - [.zshrc](https://github.com/BradNut/dotfiles/blob/master/.zshrc)
- [Oh My Zsh](https://ohmyzsh.sh) - [Oh My Zsh](https://ohmyzsh.sh)
-- Install: `sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"` -- Install: `sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"`
##### Oh My Zsh Plugins ##### Oh My Zsh Plugins
- [Z](https://github.com/agkozak/zsh-z) - [Z](https://github.com/agkozak/zsh-z)
* Install: `git clone https://github.com/agkozak/zsh-z $ZSH_CUSTOM/plugins/zsh-z` * Install: `git clone https://github.com/agkozak/zsh-z $ZSH_CUSTOM/plugins/zsh-z`
- [zsh-autosuggestions](https://github.com/zsh-users/zsh-autosuggestions) - [zsh-autosuggestions](https://github.com/zsh-users/zsh-autosuggestions)
@ -61,11 +63,9 @@ Currently using zsh.
* Install: `git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting` * Install: `git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting`
### Bash ### Bash
- Not using at the moment - Not using at the moment
#### Configuration #### Configuration
- [Bash profile](https://github.com/BradNut/dotfiles/blob/master/.bash_profile) - [Bash profile](https://github.com/BradNut/dotfiles/blob/master/.bash_profile)
- [.bashrc](https://github.com/BradNut/dotfiles/blob/master/.bashrc) - [.bashrc](https://github.com/BradNut/dotfiles/blob/master/.bashrc)