Browse Source

small arch fixes

Josh Bicking 4 years ago
parent
commit
c82ff0d338
2 changed files with 5 additions and 0 deletions
  1. 4 0
      spacemacs/.spacemacs
  2. 1 0
      zsh-local-arch/.zshrc.local

+ 4 - 0
spacemacs/.spacemacs

@@ -372,6 +372,10 @@ you should place your code here."
 
   (with-eval-after-load 'rust-mode
     (add-hook 'flycheck-mode-hook #'flycheck-rust-setup))
+  (setq
+   racer-rust-src-path "/home/josh/.rustup/toolchains/nightly-x86_64-unknown-linux-gnu/lib/rustlib/src/rust/src"
+   flycheck-rust-cargo-executable "/home/josh/.cargo/bin/cargo"
+   rust-cargo-bin "cargo")
 
   (setq haskell-process-path-ghci "ghci"))
 

+ 1 - 0
zsh-local-arch/.zshrc.local

@@ -23,3 +23,4 @@ export PATH="/home/josh/.pyenv/bin:$PATH"
 eval "$(pyenv init -)"
 eval "$(pyenv virtualenv-init -)"
 
+alias vi=vim