all repos — archive/dotfiles @ 53f50286e177abb9d1ac4a7c239dcbcc3fed63b7

Superseded by nixfiles

Emacs/zsh: Enable GNU Global if available
Alan Pearce alan@alanpearce.uk
Mon, 20 Mar 2017 15:11:06 +0100
commit

53f50286e177abb9d1ac4a7c239dcbcc3fed63b7

parent

3936dc527affdf9dfc6a3089f5e8c2dd57385a65

2 files changed, 4 insertions(+), 1 deletions(-)

jump to
M emacs/.emacs.d/init.orgemacs/.emacs.d/init.org
@@ -1736,7 +1736,7 @@ A nice completion backend for programming modes. 
 #+BEGIN_SRC emacs-lisp
 (use-package ggtags
-  :disabled t
+  :if (executable-find "gtags")
   :commands turn-on-ggtags-mode
   :functions (ggtags-navigation-mode-abort)
   :config (progn
M zsh/.config/zsh/.zshenvzsh/.config/zsh/.zshenv
@@ -45,4 +45,7 @@ *)       arch=386
       ;;
   esac
+
+  export GTAGSCONF=~/.globalrc
+  export GTAGSLABEL=ctags
 fi