   (validate-setq flycheck-check-syntax-automatically '(save mode-enabled))
   (eldoc-mode +1)
   (prettier-js-mode +1)
-  (validate-setq company-backends '(company-tide
-                                    (company-dabbrev-code
-                                     company-gtags
-                                     company-etags
-                                     company-keywords)
-                                    company-files
-                                    company-dabbrev))
+  (setq-local company-backends '(company-tide
+                                 (company-dabbrev-code
+                                  company-gtags
+                                  company-etags
+                                  company-keywords)
+                                 company-files
+                                 company-dabbrev))
   (company-mode +1))
 
 (use-package tide :ensure t

                                                   (mapcar (lambda (item)
                                                             (ar/string-match item "import +\"\\(.*\\)\"" 1))
                                                           items)))
    ;; (validate-setq company-backends '((company-grep company-files company-yasnippet company-keywords company-clang)))
    (validate-setq company-backends '((company-grep)))

    ;; (setq-local company-backends '((company-rtags)))
    ;; NOTE: Disabling while trying irony out

  ;; Enable company completion on TAB when in shell mode.
  ;; (company-mode)
  ;; (bind-key "TAB" #'company-manual-begin shell-mode-map)
  (setq-local company-backends '((company-bash-history
                                  company-rfiles
                                  company-shell))))

;; This is a hack. Let's see how it goes.
(defun ar/shell-directory-tracker (str)
