feat(emacs.d): Add function to open depot in magit

This commit is contained in:
Vincent Ambo 2019-12-14 17:07:25 +00:00
parent fea2191d15
commit c8bf0f9008

View file

@ -54,10 +54,10 @@ Including indent-buffer, which should not be called automatically on save."
(interactive) (interactive)
(man "configuration.nix")) (man "configuration.nix"))
;; Open local emacs configuration ;; Open my monorepo in magit
(defun emacs-config () (defun depot-status ()
(interactive) (interactive)
(dired "~/.emacs.d/")) (magit-status "~/depot"))
;; Get the nix store path for a given derivation. ;; Get the nix store path for a given derivation.
;; If the derivation has not been built before, this will trigger a build. ;; If the derivation has not been built before, this will trigger a build.