Photos
Blog
Projects
vanrenterghem.biz
projects
/
Dotty.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
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
+++ b/
bash/.bashrc
@@ -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