https://github.com/kakshay21/devenvironmentsetup
https://github.com/kakshay21/devenvironmentsetup
Last synced: 4 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/kakshay21/devenvironmentsetup
- Owner: kakshay21
- Created: 2022-04-30T21:35:45.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2023-07-30T13:20:12.000Z (almost 2 years ago)
- Last Synced: 2025-01-09T10:49:00.441Z (6 months ago)
- Language: Lua
- Size: 14.6 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# DevEnvironmentSetup
## Install Xcode command line
```
xcode-select --install
```## Install OhMyZsh
```
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestion
```
Add `zsh-autosuggestions` in plugins## Installing Brew
```
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" && (echo; echo 'eval "$(/usr/local/bin/brew shellenv)"') >> ~/.zshrc
```## Add SSH key to Github
see: https://docs.github.com/en/authentication/connecting-to-github-with-ssh/generating-a-new-ssh-key-and-adding-it-to-the-ssh-agent
```
ssh-keygen -t ed25519 -C "[email protected]"
eval "$(ssh-agent -s)"
touch ~/.ssh/config
```
Add these in the config file
```
Host github.com
AddKeysToAgent yes
UseKeychain yes
IdentityFile ~/.ssh/id_ed25519
``````
ssh-add --apple-use-keychain ~/.ssh/id_ed25519
pbcopy < ~/.ssh/id_ed25519.pub
```Paste the ssh key on Github: https://github.com/settings/keys
## Install Packer
```
git clone --depth 1 https://github.com/wbthomason/packer.nvim\
~/.local/share/nvim/site/pack/packer/start/packer.nvim
```
## Copy config```
cp -r .config/nvim ~/.config/nvim
```## Install Plugins
### Open packer.lua
```
nvim ~/.config/nvim/lua/kakshay/packer.lua
```### source the file and sync Plugins
```
:so
:PackerCompile
:PackerSync
```