LoginSignup
2
0

More than 5 years have passed since last update.

Emacs の Magit を fish から使う

Posted at

TL; DR

~/.config/fish/functions/magit.fish
function magit
    emacsclient -a '' -e '(progn
             (magit-status-internal "'(string escape -n (realpath .))'")
             (x-focus-frame nil))' >/dev/null
end
$ magit
2
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
0