Skip to content

LuckJMG/.dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

98 Commits
 
 
 
 
 
 
 
 

Repository files navigation

.dotfiles

Personal workspace backup for linux (fedora) and quick setup.

Contents

Install

To install and configure your new workspace first you need to clone this repo in your home directory ~:

git clone https://github.com/LuckJMG/.dotfiles.git

Then execute install1.sh to install the first part of the workspace:

~/.dotfiles/install1.sh
# When oh-my-zsh ask you to set zsh as the default shell, accept

After the execution of install1.sh, execute install2.sh:

~/.dotfiles/install2.sh

And you are ready to use my workspace.

Connect to GitHub

After installing and configuring the workspace, we need to connect our workspace with GitHub trough a SSH key:

# First check if there are any existing SSH keys
ls -al ~/.ssh

# If there aren't any available keys create a new one
ssh-keygen -t ed25519 -C "25126199+LuckJMG@users.noreply.github.com" # Replace with your email
# Press enter and when it ask for a passphrase press enter again

# Start the ssh-agent
eval "$(ssh-agent -s)"

# Create the SSH key
ssh-add ~/.ssh/id_ed25519

# Finally copy the content of the SSH file
cat ~/.ssh/id_ed25519.pub

Then in your GitHub account go to settings, SSH and GCP keys, create a new SSH key, give the name of your workspace and paste the content of the SSH file. Finally you need to authorize github.com to connect to your workspace:

ssh -T git@github.com
# After that type the passphrase of the SSH key and
# Finally write "yes"

For more information go to the github SSH documentation.

About

My workspace backup of windows wsl2.

Topics

Resources

Stars

Watchers

Forks

Languages