diff --git a/.bashrc b/.bashrc index d9957267..1fae647e 100644 --- a/.bashrc +++ b/.bashrc @@ -46,9 +46,13 @@ export GIT_PS1_SHOWUNTRACKEDFILES=true #- Path and Env Config -# #-----------------------# PATH="$HOME/.local/bin:$HOME/bin:$PATH" -export PATH PATH="$HOME/.cabal/bin:$PATH" -export PATH + +PATH="$HOME/bin/quarto-1.0.38/bin/:$PATH" +QUARTO_VERSION="1.0.38" + +# RStudio configuration vars. +R_LIBS_USER="/home/daniel/code/r_libs" # set environment variables for go (is this even necessary with modern Go?) #GOBIN="$HOME/code/go_src/bin" @@ -62,6 +66,7 @@ export PATH # Ruby gems location on Manjaro. PATH="$HOME/.local/share/gem/ruby/3.0.0/bin:$PATH" + export PATH # prevent ranger from loading rc.conf from @@ -120,8 +125,9 @@ alias ll="exa -lahF --git" alias t="tokei" alias b="bat" -# easy access to ipython +# easy access to ipython and R alias py="ipython" +alias r="R --vanilla -q" # copy to system clipboard by default alias xclip="xclip -selection clipboard" diff --git a/vim-config/configs.vim b/vim-config/configs.vim index 2b17e10e..216d34d8 100644 --- a/vim-config/configs.vim +++ b/vim-config/configs.vim @@ -499,6 +499,7 @@ let g:completor_python_binary = '/usr/bin/python3' " NOTE(daniel): We explicitly don't use clang as a C++ linter here, " because it sometimes detects obscure errors in libg++. " CLANGCHECK probably doesn't add much, so we removed it. +" NOTE(daniel): Linting in R is terribly, terribly mem-intensive. let g:ale_linters = { \ 'typescript': ['eslint', 'tsserver'], \ 'javascript': ['prettier', 'eslint', 'jshint'], @@ -509,10 +510,10 @@ let g:ale_linters = { \ 'cpp': ['clangtidy', 'g++'], \ 'haskell': ['stack-build', 'hlint', 'stack-ghc', 'hls', 'hie'], \ 'lhaskell': ['stack-build', 'hlint', 'stack-ghc', 'hls', 'hie'], -\ 'rust': ['cargo', 'rustc', 'analyzer'] +\ 'rust': ['cargo', 'rustc', 'analyzer'], +\ 'r': ['lintr'] \} - let g:ale_cpp_cc_options = ' -Wall -Wextra -Wpedantic -Weffc++ -std=c++20' let g:ale_cpp_gcc_options = '-Wall -Wextra -Wpedantic -Weffc++ -std=c++20' let g:ale_cpp_clang_options = '-Wall -Wextra -std=c++20 -x c++'