From: Peng Li Date: Sun, 31 Jul 2016 03:27:19 +0000 (+0800) Subject: emacs - shell exec-path-from-shell X-Git-Url: http://47.100.26.94:8080/?a=commitdiff_plain;h=8fd2983cb5cbdce59bb39b0bade969d64e088b75;p=dotfiles.git emacs - shell exec-path-from-shell --- diff --git a/emacs.d/config.org b/emacs.d/config.org index 0f412ca..b65c320 100644 --- a/emacs.d/config.org +++ b/emacs.d/config.org @@ -1096,6 +1096,14 @@ Toggle an eshell in split window below, refer [[http://www.howardism.org/Technic (global-set-key (kbd "s-e") 'sd/toggle-eshell-here) #+END_SRC +** exec-path-from-shell +#+BEGIN_SRC emacs-lisp :tangle yes :results silent + (use-package exec-path-from-shell + :ensure t + :config + (exec-path-from-shell-initialize)) +#+END_SRC + ** TODO smart display * Misc Settings @@ -1300,25 +1308,6 @@ Type =o= to go to the link #+END_SRC -** Tabbar - -#+BEGIN_SRC emacs-lisp :tangle yes :results silent - - ;; (use-package tabbar-ruler - ;; :ensure t - ;; :init - ;; (setq tabbar-ruler-global-tabbar t) - ;; (setq tabbar-ruler-global-ruler t) - ;; (setq tabbar-ruler-popu-menu t) - ;; (setq tabbar-ruler-popu-toolbar t) - ;; (setq tabbar-use-images t) - ;; :config - ;; (tabbar-ruler-group-by-projectile-project) - ;; (global-set-key (kbd "s-1") 'tabbar-forward-group) - ;; (global-set-key (kbd "s-2") 'tabbar-ruler-forward)) - -#+END_SRC - ** View only for some directory When see function by =C-h f=, and visit the source code, I would like the buffer is read only. See [[http://emacs.stackexchange.com/questions/3676/how-to-enter-view-only-mode-when-browsing-emacs-source-code-from-help/3681#3681][here]] #+BEGIN_SRC emacs-lisp :tangle yes :results silent