Skip to content

Instantly share code, notes, and snippets.

@hitode909
Created June 22, 2012 04:54
Show Gist options
  • Save hitode909/2970301 to your computer and use it in GitHub Desktop.
Save hitode909/2970301 to your computer and use it in GitHub Desktop.
ターミナルからmagit-statusする
#!/bin/sh
emacsclient -e "(magit-status \"./$(git rev-parse --show-cdup)\")" &
osascript -e 'tell application "Emacs" to activate'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment