Skip to content

Instantly share code, notes, and snippets.

@yaotti
Created December 18, 2008 15:24
Show Gist options
  • Save yaotti/37527 to your computer and use it in GitHub Desktop.
Save yaotti/37527 to your computer and use it in GitHub Desktop.
;;; Gisty.el
;;; A gisty interface of Emacs
(defun gisty-post ()
(interactive)
(let ((filename (buffer-file-name))
(shell-file-name "/bin/zsh"))
(start-process-shell-command
"gisty" "*gisty*"
"gisty" (concat "post "
filename))))
(defun gisty-sync ()
(interactive)
(start-process-shell-command
"gisty" "*gisty*"
"gisty" "sync"))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment