 ;; setup use-package to use straight.el by default
 (setq straight-use-package-by-default t)
 
-;; silence compiler warnings
-(setq native-comp-async-report-warnings-errors nil)
-
-;; Set the right directory to store the native comp cache
-(add-to-list 'native-comp-eln-load-path (expand-file-name "eln-cache/" user-emacs-directory))
-
 ;; Update environment from shell on macOS
 (use-package exec-path-from-shell
   :if (memq window-system '(mac ns x))
   :config
-  (exec-path-from-shell-initialize))
-
-;; setup default shell
-(setq shell-file-name "bash")
-(setenv "SHELL" shell-file-name)
-(global-set-key [f1] 'ansi-term)
+  (setenv "SHELL" "/bin/zsh")
+  (exec-path-from-shell-initialize)
+  (exec-path-from-shell-copy-envs
+   '("PATH")))
 
 ;; Minimal UI right at startup
 (scroll-bar-mode -1)                          ;; don't display scroll bar

;;; init.el --- my basic emacs setup for sane defaults

;; Time-stamp: <2021-08-31 08:57:19 rovalent>
;; Copyright 2020 Ronald Valente

;;; Commentary:

(column-number-mode)
(global-display-line-numbers-mode t)

(use-package vertico
  :init
  (vertico-mode))

(use-package orderless
  :init
  (setq completion-styles '(orderless)
        completion-category-defaults nil
        completion-category-overrides '((file (styles partial-completion)))))

(use-package savehist
  :init
  (savehist-mode))

(use-package which-key
  :config
