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 # Source Cargo Environment
if [[ -f "$HOME/.cargo/env" ]]; then if [[ -f "$HOME/.cargo/env" ]]; then
. "$HOME/.cargo/env" . "$HOME/.cargo/env"
#else elif [[ -f ~/.local/share/cargo/env ]]; then
# curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh; source ~/.local/share/cargo/env
fi fi
# Source Nix Environment # Source Nix Environment
if [ -e "$HOME"/.nix-profile/etc/profile.d/nix.sh ]; then if [ -e "$HOME"/.nix-profile/etc/profile.d/nix.sh ]; then
. "$HOME"/.nix-profile/etc/profile.d/nix.sh . "$HOME"/.nix-profile/etc/profile.d/nix.sh
# else # else
# echo "If this doesn't work, comment out this part of .zshenv" # echo "If this doesn't work, comment out this part of .zshenv"
# sh <(curl -L https://nixos.org/nix/install) --no-daemon; # sh <(curl -L https://nixos.org/nix/install) --no-daemon;
fi fi
# Add Ruby # Add Ruby

View file

@ -105,7 +105,7 @@ autocmd VimEnter * if len(filter(values(g:plugs), '!isdirectory(v:val.dir)'))
\| PlugInstall --sync | source $MYVIMRC \| PlugInstall --sync | source $MYVIMRC
\| endif \| endif
if exists('##TextYankPost') 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 endif
try try