Skip to content

Commit

Permalink
Add gpg to gitconfig and aws_profile shenanigans
Browse files Browse the repository at this point in the history
  • Loading branch information
GMadorell committed Feb 8, 2022
1 parent 1a468f2 commit 92c7d2b
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 6 deletions.
2 changes: 2 additions & 0 deletions bashrc
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,5 @@ export PYTHONPATH="$PYTHONPATH:$HOME/.python_dev_links"
export PATH="$PATH:$HOME/.python_dev_links"
export PATH="/usr/local/bin:$PATH"
export PATH="$HOME/bin:$PATH"
. "$HOME/.cargo/env"
export AWS_PROFILE=saml
11 changes: 5 additions & 6 deletions gitconfig
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
[user]
name = GMadorell
email = gmadorell@gmail.com
signingKey = 9F60F45397854874
[alias]
branches = branch -a
tags = tag
Expand Down Expand Up @@ -31,11 +32,9 @@
noprefix = false
[rerere]
enabled = true
[filesystem "N/A|13.0.2|/dev/disk1s1"]
timestampResolution = 8000 nanoseconds
minRacyThreshold = 0 nanoseconds
[filesystem "Oracle Corporation|1.8.0_181|/dev/disk1s1"]
timestampResolution = 1001 milliseconds
minRacyThreshold = 0 nanoseconds
[pull]
ff = only
[commit]
gpgsign = true
[gpg]
program = /opt/homebrew/bin/gpg
6 changes: 6 additions & 0 deletions zshrc
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,9 @@ alias killsbt="kill_sbt"
# C# setup
export DOTNET_CLI_TELEMETRY_OPTOUT=1

# PGP/GPG setup
export GPG_TTY=$(tty)


# Service aliases
: '
Expand Down Expand Up @@ -319,6 +322,9 @@ function escheck() {
function escnf() { $EDITOR /usr/local/etc/elasticsearch/elasticsearch.yml ; }
function esplugin() { /usr/local/opt/elasticsearch@5.6/libexec/bin/elasticsearch-plugin $@ ; }

# AWS
export AWS_PROFILE=saml

# Internet / Connectivity
function is_connected_to_internet {
wget -q --tries=10 --timeout=20 --spider http://google.com
Expand Down

0 comments on commit 92c7d2b

Please sign in to comment.