Skip to content

PhilipCastiglione/dotfiles

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Dotfiles

Contents

  • Xresources
  • bashrc
  • bash_aliases
  • ilia.css

TODO:

  • neovim config

Clone this repo into ~/workspace.

Then (first check to ensure these files don't already exist, remove them if they do):

ln -s ~/workspace/dotfiles/.bashrc ~/

ln -s ~/workspace/dotfiles/.bash_aliases ~/

sudo ln -s ~/workspace/dotfiles/ilia.css /usr/share/regolith-look/i3-default/

ln -s ~/workspace/dotfiles/Xresources ~/.config/regolith3/
regolith-look refresh

Software

Development

# set some global git config
git config --global user.name "Philip Castiglione"
git config --global user.email philipcastiglione@gmail.com
git config --global core.editor nvim
git config --global init.defaultBranch main

# add ssh key, add it to the agent, cat it to be able to copy-paste in a bit
ssh-keygen -t ed25519 -C "philipcastiglione@gmail.com"

eval "$(ssh-agent -s)"
ssh-add ~/.ssh/id_ed25519
cat ~/.ssh/id_ed25519.pub

# generate gpg key
gpg --full-generate-key
gpg --list-secret-keys --keyid-format=long
# grab the id of the key and use it for <key_id> below
gpg --armor --export <key_id>

# tell git to use the gpg key to sign all commits by default:
git config --global --unset gpg.format
git config --global user.signingkey <key_id>
git config --global commit.gpgsign true

# add to bash
[ -f ~/.bashrc ] && echo -e '\nexport GPG_TTY=$(tty)' >> ~/.bashrc

Notes

  • On ubuntu/regolith I had to uninstall the snap version of firefox and install it from apt to get a version not in the snap sandbox, so that 1password can talk to firefox (after installing the ff extension).

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published