projects
/
~bandali
/
configs
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
shell: it probably makes more sense to start ssh-agent in ~/.profile
[~bandali/configs]
/
.profile
diff --git
a/.profile
b/.profile
index
4ca1d4b
..
3b0071f
100644
(file)
--- a/
.profile
+++ b/
.profile
@@
-52,6
+52,16
@@
if [ -z "$IS_GUIX_SYSTEM" ]; then
fi
fi
fi
fi
+# start an ssh-agent (with guix's openssh)
+if [ -z "$IS_GUIX_SYSTEM" ]; then
+ if ! pgrep -u "$USER" ssh-agent > /dev/null; then
+ ssh-agent > ~/.ssh-agent-thing
+ fi
+ if [[ ! "$SSH_AUTH_SOCK" ]]; then
+ eval "$(<~/.ssh-agent-thing)"
+ fi
+fi
+
setxkbmap \
-layout us,ir \
-option ctrl:nocaps \
setxkbmap \
-layout us,ir \
-option ctrl:nocaps \