This commit is contained in:
Mira Kristipati 2023-11-07 21:53:21 -05:00
parent c736a235f8
commit 78910e2d9c
2 changed files with 6 additions and 7 deletions

View file

@ -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

View file

@ -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