summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.bash_profile2
-rw-r--r--.ssh/config1
-rw-r--r--README.md5
3 files changed, 6 insertions, 2 deletions
diff --git a/.bash_profile b/.bash_profile
index 6c5a5d9..45dced1 100644
--- a/.bash_profile
+++ b/.bash_profile
@@ -27,7 +27,7 @@ alias srv="npx http-server" # start simple server
alias grep='grep --color=auto' # enable coloring all the time
alias tagme='ctags -R --languages=ruby --exclude=.git --exclude=log . $(bundle list --paths)'
alias skipci='git commit --allow-empty -m "--skip-ci"'
-alias rgpg='gpg-connect-agent updatestartuptty /bye'
+alias rgpg='pkill pinentry-tty; gpg-connect-agent updatestartuptty /bye'
# alias g='git'
# # look up the original completion command and replace the last with the alias
# complete -o bashdefault -o default -o nospace -F __git_wrap__git_main g
diff --git a/.ssh/config b/.ssh/config
new file mode 100644
index 0000000..4be131d
--- /dev/null
+++ b/.ssh/config
@@ -0,0 +1 @@
+Match host * exec "gpg-connect-agent UPDATESTARTUPTTY /bye"
diff --git a/README.md b/README.md
index 4529e3a..aa1bc2d 100644
--- a/README.md
+++ b/README.md
@@ -18,8 +18,8 @@ brew bundle
ln -sf ~/.rc/.bash_profile ~/.bash_profile
ln -sf ~/.rc/.editorconfig ~/.editorconfig
ln -sf ~/.rc/.inputrc ~/.inputrc
-ln -sf ~/.rc/.screenrc ~/.screenrc
ln -sf ~/.rc/.netrc ~/.netrc
+ln -sf ~/.rc/.screenrc ~/.screenrc
ln -sf ~/.rc/.terraformrc ~/.terraformrc
ln -sf ~/.rc/.tmux.conf ~/.tmux.conf
chmod 600 ~/.netrc
@@ -28,6 +28,9 @@ chmod 600 ~/.terraformrc
ln -sf ~/.rc/.gitconfig ~/.gitconfig
ln -sf ~/.rc/.gitignore_global ~/.gitignore_global
+mkdir -p ~/.ssh
+ln -sf ~/.rc/.ssh/config ~/.ssh/config
+
mkdir -p ~/.aws
ln -sf ~/.rc/.aws/config ~/.aws/config
ln -sf ~/.rc/.aws/credentials ~/.aws/credentials