From 78910e2d9c269ff3a49c5c61e9276c2cb20d83be Mon Sep 17 00:00:00 2001 From: Mira Kristipati Date: Tue, 7 Nov 2023 21:53:21 -0500 Subject: [PATCH] updates --- executable_dot_env | 11 +++++------ private_dot_config/vim/vimrc | 2 +- 2 files changed, 6 insertions(+), 7 deletions(-) diff --git a/executable_dot_env b/executable_dot_env index 3dc9641..feb07e4 100644 --- a/executable_dot_env +++ b/executable_dot_env @@ -30,16 +30,15 @@ fi # Source Cargo Environment if [[ -f "$HOME/.cargo/env" ]]; then . "$HOME/.cargo/env" - #else - # curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh; +elif [[ -f ~/.local/share/cargo/env ]]; then + source ~/.local/share/cargo/env fi - # Source Nix Environment if [ -e "$HOME"/.nix-profile/etc/profile.d/nix.sh ]; then . "$HOME"/.nix-profile/etc/profile.d/nix.sh -# else -# echo "If this doesn't work, comment out this part of .zshenv" -# sh <(curl -L https://nixos.org/nix/install) --no-daemon; + # else + # echo "If this doesn't work, comment out this part of .zshenv" + # sh <(curl -L https://nixos.org/nix/install) --no-daemon; fi # Add Ruby diff --git a/private_dot_config/vim/vimrc b/private_dot_config/vim/vimrc index 1777050..d2aeda5 100644 --- a/private_dot_config/vim/vimrc +++ b/private_dot_config/vim/vimrc @@ -105,7 +105,7 @@ autocmd VimEnter * if len(filter(values(g:plugs), '!isdirectory(v:val.dir)')) \| PlugInstall --sync | source $MYVIMRC \| endif if exists('##TextYankPost') - autocmd TextYankPost * if v:event.operator is 'y' && v:event.regname is '' | execute 'OSCYank"' | endif + autocmd TextYankPost * if v:event.operator is 'y' && v:event.regname is '' | execute 'OSCYankVisual"' | endif endif try