add cargo/bin to exec path

This commit is contained in:
Chris Cochrun 2025-03-25 10:16:45 -05:00
parent 476b820019
commit d0ff0b78ad
2 changed files with 4 additions and 2 deletions

View file

@ -207,6 +207,7 @@
(setq xref-search-program 'ripgrep)
(add-to-list 'exec-path "/usr/bin")
(add-to-list 'exec-path "~/.cargo/bin")
(setenv "NIX_CONF_DIR" "/etc/nix")
(setenv "NIX_REMOTE" "daemon")
(setenv "XCURSOR_THEME" "phinger-cursors-light")
@ -3520,7 +3521,7 @@ targets."
(setq eshell-banner-message "")
(setq eshell-path-env "/usr/local/bin:/usr/bin:/opt/android-sdk/cmdline-tools/latest/bin:/home/chris/.cargo/bin")
(add-to-list 'eshell-path-env-list "/home/chris/.cargo/bin")
;; this makes it so flutter works properly
(setenv "ANDROID_SDK_ROOT" "/opt/android-sdk")