summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2017-03-20 15:11:06 +0100
committerAlan Pearce2017-03-20 15:11:06 +0100
commit53f50286e177abb9d1ac4a7c239dcbcc3fed63b7 (patch)
tree799f160f60327a1b026fd9f4065636e611ccafb0
parent3936dc527affdf9dfc6a3089f5e8c2dd57385a65 (diff)
downloadnixfiles-53f50286e177abb9d1ac4a7c239dcbcc3fed63b7.tar.lz
nixfiles-53f50286e177abb9d1ac4a7c239dcbcc3fed63b7.tar.zst
nixfiles-53f50286e177abb9d1ac4a7c239dcbcc3fed63b7.zip
Emacs/zsh: Enable GNU Global if available
-rw-r--r--emacs/.emacs.d/init.org2
-rw-r--r--zsh/.config/zsh/.zshenv3
2 files changed, 4 insertions, 1 deletions
diff --git a/emacs/.emacs.d/init.org b/emacs/.emacs.d/init.org
index 880e4bc6..7578c72a 100644
--- a/emacs/.emacs.d/init.org
+++ b/emacs/.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
diff --git a/zsh/.config/zsh/.zshenv b/zsh/.config/zsh/.zshenv
index 0be5a7a6..512dc56e 100644
--- a/zsh/.config/zsh/.zshenv
+++ b/zsh/.config/zsh/.zshenv
@@ -45,4 +45,7 @@ then
       arch=386
       ;;
   esac
+
+  export GTAGSCONF=~/.globalrc
+  export GTAGSLABEL=ctags
 fi