                             (buffer-face-mode)))
 ;; Turn off line numbers
 (add-hook 'org-mode-hook (lambda ()
-                            (display-line-numbers-mode 0)))
+                           (display-line-numbers-mode 0)))
 ;; Set visual-line-mode
 (add-hook 'org-mode-hook 'visual-line-mode)
 

    (setq epa-pinentry-mode 'loopback))

;; eshell settings
;; eshell prompt
(defun my-system-name ()
  "Returns system-name without a '.*' suffix"
    (if (cl-search "." system-name)
	(car (split-string system-name "\\."))
      (system-name)))

(setq eshell-prompt-function
      (lambda ()
        (concat
         (propertize (user-login-name) 'face '(:foreground "CadetBlue1"))
         (propertize "@" 'face '(:foreground "white"))
         (propertize (my-system-name) 'face '(:foreground "MediumPurple1"))
         " "
         (propertize (eshell/pwd) 'face '(:foreground "SpringGreen1"))
         " $ "))
      eshell-prompt-regexp "^.+?@.+? .+ \$ ")
;; Add to $PATH for eshell
(add-to-list 'exec-path "/usr/local/bin")
(add-to-list 'exec-path "/usr/local/sbin")
(add-to-list 'exec-path "~/.dotfiles/bin")

;; Org-mode settings
;; Indent headings in org files

      mouse-yank-at-point t
      require-final-newline t
      inhibit-startup-screen t)
;;      setq find-file-visit-truename t)

;; emacs appearance settings
(menu-bar-mode -1)
