summary refs log tree commit diff stats
path: root/emacs/init.el
diff options
context:
space:
mode:
authorAlan Pearce2013-10-10 17:09:23 +0100
committerAlan Pearce2013-10-10 17:09:23 +0100
commit692c8fdc954ebe282f96ca63dcfe04e8fc651116 (patch)
tree10acd09fe738b1b21e1e581bca56846e126df8cc /emacs/init.el
parentb8fa55df0cee0d976d69dd188fcc64e179d04c97 (diff)
downloadnixfiles-692c8fdc954ebe282f96ca63dcfe04e8fc651116.tar.lz
nixfiles-692c8fdc954ebe282f96ca63dcfe04e8fc651116.tar.zst
nixfiles-692c8fdc954ebe282f96ca63dcfe04e8fc651116.zip
Emacs: add register for zshrc
Diffstat (limited to 'emacs/init.el')
-rw-r--r--emacs/init.el1
1 files changed, 1 insertions, 0 deletions
diff --git a/emacs/init.el b/emacs/init.el
index 60a35fd9..96a2cf64 100644
--- a/emacs/init.el
+++ b/emacs/init.el
@@ -524,6 +524,7 @@ Values: `desktop', `server', `laptop'")
 (bind-key "s-x" (define-prefix-command 'super-x-map))
 
 (set-register ?e `(file . ,*init-file*))
+(set-register ?z `(file . ,(expand-file-name ".zshrc" "~")))
 
 ;; Enable narrowing functions C-x n
 (put 'narrow-to-defun  'disabled nil)