(comint-run "top")
Require package `ob-compile`
docker-compose up
Require package `eev`
(require 'eepitch)
(eepitch '(shell "project-tasks"))
(eepitch-line "date +%s")
(eepitch-line "sleep 2")
(eepitch-line "date +%s")
Require package `eev`
(require 'eepitch)
(when (not (get-buffer-process "exec pg"))
(eepitch '(shell "exec pg"))
(eepitch-line "docker-compose exec pg bash")
(eepitch-line (format "PGPASSWORD=%s PGUSER=postgres psql" (getenv "PGPASSWORD"))))
Require package `eev`
(eepitch '(shell "*pg_dump*"))
(eepitch-line "docker exec -it pg bash")
(eepitch-line (format "PGPASSWORD=%s PGUSER=postgres pg_dump db_name > /tmp/pg_dump.sql" (getenv "PGPASSWORD"))
(eepitch-line "exit")
(find-file-literally "/docker:pg:/tmp/pg_dump.sql")