From bd0cd9ccdb0333189acc4ab5544814e7d72567f4 Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Fri, 31 Mar 2017 15:25:38 +0100 Subject: [PATCH] Add ctags shell setup file --- shell/_main.sh | 1 + shell/ctags.sh | 12 ++++++++++++ 2 files changed, 13 insertions(+) create mode 100644 shell/ctags.sh diff --git a/shell/_main.sh b/shell/_main.sh index 14e2041..92579ba 100755 --- a/shell/_main.sh +++ b/shell/_main.sh @@ -35,6 +35,7 @@ source "$DOTSHELL/aliases.sh" source "$DOTSHELL/emacs.sh" source "$DOTSHELL/git.sh" source "$DOTSHELL/tmux.sh" +source "$DOTSHELL/ctags.sh" # Development source "$DOTSHELL/nodejs.sh" diff --git a/shell/ctags.sh b/shell/ctags.sh new file mode 100644 index 0000000..ebd5d33 --- /dev/null +++ b/shell/ctags.sh @@ -0,0 +1,12 @@ +# +# ctags +# + +# *nix systems. +if [ -d "/opt/universal-ctags/bin" ]; then + path_append "/opt/universal-ctags/bin" +fi + +if [ -d "/opt/global-ctags/bin" ]; then + path_append "/opt/global-ctags/bin" +fi