From f6edb5e060a0093a12101f81330e2f4301274be9 Mon Sep 17 00:00:00 2001 From: earnest ma Date: Mon, 27 Dec 2021 22:42:59 -0500 Subject: [PATCH] zshrc: Function for magit --- zsh/.zshrc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/zsh/.zshrc b/zsh/.zshrc index d9c1bc6..d3badfb 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -95,6 +95,11 @@ gpgyeet() { echo RELOADAGENT | gpg-connect-agent } +# emacs magit +magit() { + emacs -nw --eval "(progn (magit-status) (delete-other-windows))" +} + # PLUGINS! # `miniplug update`