Merge branch 'main' of github.com:Matir/skel

This commit is contained in:
David Tomaschik
2023-01-31 14:14:10 -08:00
9 changed files with 66 additions and 31 deletions

View File

@@ -56,3 +56,6 @@ alias dfh="df -h -x tmpfs -x devtmpfs"
# Clear the GPG agent
alias clear-gpg-agent="echo RELOADAGENT | gpg-connect-agent"
# Battery details
alias bat-details='upower -i $(upower -e | grep battery)'

View File

@@ -34,4 +34,9 @@ if [ -z "${LIBVIRT_DEFAULT_URI}" ] ; then
fi
fi
# Got rust? (gvim, etc.)
if test -d "${HOME}/.cargo/bin" ; then
PATH="${PATH}:${HOME}/.cargo/bin"
fi
test -f "${HOME}/.profile.local" && . "${HOME}/.profile.local"

View File

@@ -10,35 +10,36 @@
.cargo
.config/discord
.config/gcloud/logs
.config/google-chrome
.config/google-chrome-beta
.config/unity3d/cache
.dropbox-dist
.gnupg.bak
.gradle
.histfile
.kube/cache
.local/lib
.local/share/Steam
.local/share/Trash
.local/lib
.m2
.minikube
.npm
.p2
.rvm*
.platformio
.rustup
.rvm*
.sliver
.sqlite_history
.thumbnails
.virtualenvs
.wine
.xsession-errors*
.zcompdump
.zcompdump*
Audits
Downloads
SpiderOak Hive
Unity
VirtualBox VMs
tmp
tools
.minikube
.config/unity3d/cache
.xsession-errors*
.config/google-chrome-beta
.config/google-chrome
Unity

View File

@@ -154,10 +154,15 @@ nnoremap <silent> <F5> :SyntasticCheck<CR> :Errors<CR>
" Currently only works on debian-based systems...
" It also does not play nicely with virtual envs, so we skip it then
if isdirectory("/usr/share/vim-youcompleteme") && empty($VIRTUAL_ENV)
let g:ycm_gopls_binary_path='gopls'
let g:ycm_autoclose_preview_window_after_insertion=1
set runtimepath+=/usr/share/vim-youcompleteme
endif
let g:ycm_autoclose_preview_window_after_insertion=1
" Add rust settings
let g:tmp_rust_path=trim(system("rustc --print sysroot"))
if isdirectory(g:tmp_rust_path)
let g:ycm_rust_toolchain_root=g:tmp_rust_path
endif
unlet! g:tmp_rust_path
" Enable vim-bracketed-paste mode
" From