Skip to content

cham11ng/dotconfig

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

dotconfig

Zsh + VSCode.

By: Sagar Chamling

OS Specific Configurations

ZSH Configuration

$ sh zsh.sh

$ cp .zshrc ~/.zshrc
$ cp .zprofile ~/.zprofile
$ cp .zaliases ~/.zaliases

NVIM

$ cp -R vim/nvim ~/.config
$ cp -R vim/coc ~/.config

$ cd ~/.config/nvim
$ vim .

# Install all plugins
:PlugInstall

# Install all COC packages
:CocInstall coc-diagnostic coc-html coc-json coc-pyright coc-sh coc-snippets coc-tsserver coc-vimlsp

GPG Keys Setup

$ sudo apt install gnupg2 -y

$ gpg2 --gen-key

# Export GPG public key and private key
$ gpg2 --armor --export [email protected] > ~/keys/public.key
$ gpg2 --armor --export-secret-keys [email protected] > ~/keys/private.key

# To delete previously generated keys
$ gpg --delete-keys [email protected]
$ gpg --delete-secret-keys [email protected]

# Optional: To generate enough 'Entropy' for GPG key generation process
$ sudo apt install rng-tools