dots

my dotfiles
git clone https://tilde.team/~marisa/repo/dots.git
Log | Files | Refs

commit 75bfd598c241e4a4a5448b1b12233f41bc6dd702
parent 6bb9773b63b5127bb0d6327dadaa9b143ab90729
Author: mokou <mokou@fastmail.com>
Date:   Thu, 28 Jan 2021 11:56:22 +0100

Some gpg stuff

Diffstat:
Mdot_config/fish/executable_config.fish | 11+++++++++++
Mdot_gitconfig | 5++++-
2 files changed, 15 insertions(+), 1 deletion(-)

diff --git a/dot_config/fish/executable_config.fish b/dot_config/fish/executable_config.fish @@ -17,6 +17,7 @@ if test -e ~/.nix-profile/etc/profile.d/nix.sh end # PATH adjustment +setpath /opt/homebrew/bin setpath ~/.rbenv/shims setpath ~/.rbenv/bin setpath ~/.cargo/bin @@ -99,3 +100,13 @@ if command --search exa > /dev/null do alias ls "exa" end +# Some neat GPG shorthands +function secret + set output ~/$argv[1].(date +%s).enc + gpg --encrypt --armor --output $output $argv[1]; and echo "$argv[1] -> $output" +end + +function reveal + set output (echo $argv[1] | rev | cut -c16- | rev) + gpg --decrypt --output $output $argv[1]; and echo "$argv[1] -> $output" +end diff --git a/dot_gitconfig b/dot_gitconfig @@ -1,6 +1,7 @@ [user] name = mokou - email = mokou@posteo.de + email = mokou@fastmail.com + signingkey = 0x53A8BB015F9EAE63 [core] editor = vim [push] @@ -9,3 +10,5 @@ rebase = true [rebase] autoStash = true +[sendemail] + smtpserver = /opt/homebrew/bin/msmtp