Use gpg-agent for ssh too.
[Dotty.git] / bash / .bashrc
diff --git a/bash/.bashrc b/bash/.bashrc
new file mode 100644 (file)
index 0000000..0aa3228
--- /dev/null
@@ -0,0 +1,12 @@
+#
+# ~/.bashrc
+#
+
+# If not running interactively, don't do anything
+[[ $- != *i* ]] && return
+
+alias ls='ls --color=auto'
+PS1='[\u@\h \W]\$ '
+
+export GPG_TTY=$(tty)
+gpg-connect-agent updatestartuptty /bye >/dev/null