diff --git a/check.sh b/check.sh new file mode 100755 index 000000000..a1083fbe1 --- /dev/null +++ b/check.sh @@ -0,0 +1,6 @@ +#!/usr/bin/env bash + +set -Eeuo pipefail + +make autoloads +emacs -q --eval="(add-to-list 'load-path \"/home/ahab/Projects/org-mode/lisp\")" diff --git a/lisp/ob-shell.el b/lisp/ob-shell.el index 551c3785d..35d9e9376 100644 --- a/lisp/ob-shell.el +++ b/lisp/ob-shell.el @@ -81,7 +81,8 @@ is modified outside the Customize interface." (lambda (body params) (:documentation (format "Execute a block of %s commands with Babel." name)) - (let ((shell-file-name name)) + (let ((explicit-shell-file-name name) + (shell-file-name name)) (org-babel-execute:shell body params)))) (put fname 'definition-name 'org-babel-shell-initialize)) (defalias (intern (concat "org-babel-variable-assignments:" name)) diff --git a/nohup.out b/nohup.out new file mode 100644 index 000000000..b110156b6 --- /dev/null +++ b/nohup.out @@ -0,0 +1,21 @@ +/home/ahab/.guix-profile/bin/emacsclient: can't find socket; have you started the server? +/home/ahab/.guix-profile/bin/emacsclient: To start the server in Emacs, type "M-x server-start". +/home/ahab/.guix-profile/bin/emacsclient: No socket or alternate editor. Please use: + + --socket-name + --server-file (or environment variable EMACS_SERVER_FILE) + --alternate-editor (or environment variable ALTERNATE_EDITOR) +/home/ahab/.guix-profile/bin/emacsclient: can't find socket; have you started the server? +/home/ahab/.guix-profile/bin/emacsclient: To start the server in Emacs, type "M-x server-start". +/home/ahab/.guix-profile/bin/emacsclient: No socket or alternate editor. Please use: + + --socket-name + --server-file (or environment variable EMACS_SERVER_FILE) + --alternate-editor (or environment variable ALTERNATE_EDITOR) +/home/ahab/.guix-profile/bin/emacsclient: can't find socket; have you started the server? +/home/ahab/.guix-profile/bin/emacsclient: To start the server in Emacs, type "M-x server-start". +/home/ahab/.guix-profile/bin/emacsclient: No socket or alternate editor. Please use: + + --socket-name + --server-file (or environment variable EMACS_SERVER_FILE) + --alternate-editor (or environment variable ALTERNATE_EDITOR) diff --git a/setup.sh b/setup.sh new file mode 100755 index 000000000..c5de9c8a5 --- /dev/null +++ b/setup.sh @@ -0,0 +1,16 @@ +#!/usr/bin/env bash + +set -Eeuo pipefail + +echo "[DEV] Setting up ssh..." +eval "$(ssh-agent)" +ssh-add /home/ahab/.ssh/id_org +echo "[DEV] SSH setup complete" + +echo "[DEV] Rebuilding..." +make +echo "[DEV] Rebuilt" + +echo "[DEV] Restarting emacsd..." +herd restart emacsd +echo "[DEV] emacsd restarted"