Skip to content

Instantly share code, notes, and snippets.

@ongaeshi
Created March 17, 2011 13:56
Show Gist options
  • Select an option

  • Save ongaeshi/874345 to your computer and use it in GitHub Desktop.

Select an option

Save ongaeshi/874345 to your computer and use it in GitHub Desktop.
直前に実行したシェルコマンドを実行
(defun shell-command-prev ()
(interactive)
(shell-command (car shell-command-history) nil nil))
(global-set-key (kbd "C-c C-c") 'shell-command-prev)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment