diff options
Diffstat (limited to '')
-rw-r--r-- | .profile | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -52,6 +52,16 @@ if [ -z "$IS_GUIX_SYSTEM" ]; then 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 \ |