Merge branch 'master' of github.com:BradNut/computer-setup-info

This commit is contained in:
Bradley 2020-09-16 00:19:34 -07:00
commit e91853c42f

View file

@ -1,33 +1,29 @@
# Coding Environment Setup
## Packages
- Git: `sudo apt install git`
- Curl: `sudo apt install curl`
- Docker: [Ubuntu Install](https://docs.docker.com/engine/install/ubuntu/#prerequisites)
- [Install instructions](../master/linux/Docker-Setup.md)
### [Linux Brew](https://docs.brew.sh/Homebrew-on-Linux)
- 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
```
- 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`
#### Adding Homebrew to your PATH and bash shell (If applicable)
```
$ test -d ~/.linuxbrew && eval $(~/.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
$ echo "eval \$($(brew --prefix)/bin/brew shellenv)" >>~/.profile
```
- `test -d ~/.linuxbrew && eval $(~/.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`
- `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 and editor preferences: https://github.com/BradNut/dotfiles
@ -42,19 +38,18 @@ $ git config --global.email "you@example.com"
## Terminal
### Vim
- If not installed: `sudo apt install vim`
- Configuration: [.vimrc](https://github.com/BradNut/dotfiles/blob/master/.vimrc)
#### Things to look into for vim
- Package manager
- [Rainbow Parentheses](https://github.com/frazrepo/vim-rainbow)
### Zsh
Currently using zsh.
- Install if not there: `sudo apt install zsh`
*Currently using zsh*
- Install if not there
- Linux/Ubunut: `sudo apt install zsh`
- OSX: `brew install zsh`
#### Configuration
- [.zshrc](https://github.com/BradNut/dotfiles/blob/master/.zshrc)
@ -70,11 +65,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`
### Bash
- Not using at the moment
#### Configuration
- [Bash profile](https://github.com/BradNut/dotfiles/blob/master/.bash_profile)
- [.bashrc](https://github.com/BradNut/dotfiles/blob/master/.bashrc)