Skip to content

hfalk/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dotfiles

Getting started

  1. Recommended: Fork project to tweek the settings and make it your own or do it locally: git clone https://github.com/hfalk/dotfiles
  2. Modify settings.sh to your needs
    • Change git name, and remove packages/applications you don't need
  3. Update macos.sh with preferred tweaks
  4. Run the install script: bash install.sh (Remember: this project is using symlinks, so don't remove/delete projectfolder after install)

What does the install script do?

Lots of things! The following things will happen in cronological order:

[?] = Optional (the installer will ask before making the change)

For more information of what the actual dotfiles does, take a look at source code.

Things to remember

Generate SSH key (use for github ++)

Add GPG to Git/Github

  1. Generate a new gpg key (Remember same name and email as github) gpg --full-generate-key
    • Select RSA and key size of 4096
    • Let the key never expire (press enter)
    • Enter name and email
    • Enter a passphrase
  2. List keys: gpg --list-secret-keys --keyid-format LONG
    • It output should look something like this: sec 4096R/XXXXXXXX"
    • The ID is the X's
  3. Export this key and add it to GitHub (https://github.com/settings/keys): gpg --armor --export <PASTE_LONG_KEY_HERE(XXXXXXXX)>
    • Copy your GPG key, beginning with -----BEGIN PGP PUBLIC KEY BLOCK----- and ending with -----END PGP PUBLIC KEY BLOCK-----.
  4. Add key to git: git config --global user.signingkey <PASTE_LONG_KEY_HERE>
  5. To set all commits for a repository to be signed by default: git config --global commit.gpgsign true
    • To set all commits in any local repository on your computer to be signed by default: git config commit.gpgsign true
  6. Export to bash_profile, to avoid re-entering password echo 'export GPG_TTY=$(tty)' >> ~/.bash_profile

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published