Skip to content

Commit

Permalink
Merge branch 'master' of github.com:iimacs/.emacs.d
Browse files Browse the repository at this point in the history
  • Loading branch information
BobyMCbobs committed Jan 21, 2020
2 parents 56a6b45 + 1da16da commit f560891
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions layers/ii/funcs.el
Expand Up @@ -148,13 +148,9 @@
)
(defun ssh-find-agent ()
(interactive)
(setenv "SSH_AUTH_SOCK" (shell-command-to-string (concat "\
. " (configuration-layer/get-layer-local-dir 'ii) "ssh-find-agent.sh ;\
ssh-find-agent | grep ssh- | tail -1 \
| tail -1 | awk '{print $2}' | awk -F= '{print $2}' \
| tr --delete '\n'"))
(setenv "SSH_AUTH_SOCK" (shell-command-to-string "find /tmp /run/host/tmp/ -type s -regex '.*/ssh-.*/agent..*$' 2> /dev/null | tail -n 1"))
(message (getenv "SSH_AUTH_SOCK"))
))
)
(with-eval-after-load "org"
;; (add-to-list 'org-src-lang-modes '("go-mode" . sql))
(add-to-list 'org-structure-template-alist
Expand Down

0 comments on commit f560891

Please sign in to comment.