Skip to content

Commit

Permalink
https://github.com/rust-lang/cargo/issues/2078
Browse files Browse the repository at this point in the history
  • Loading branch information
yurybikuzin committed Sep 6, 2022
1 parent 6dbc256 commit 03887aa
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .cargo/config
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
[net]
git-fetch-with-cli = true # use the `git` executable for git operations
8 changes: 8 additions & 0 deletions init.sh
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,14 @@ target=~/.alacritty.yml
_prepare_for_ln "$target"
ln -s ~/dotfiles/alacritty.yml "$target"


# https://github.com/rust-lang/cargo/issues/2078
mkdir -p ~/.cargo/
target=~/.cargo/config
if [[ ! -e ~/.cargo/config ]]; then
ln -s ~/dotfiles/.cargo/config "$target"
fi

mkdir -p ~/.config/nvim
target=~/.config/nvim/init.vim
_prepare_for_ln "$target"
Expand Down

0 comments on commit 03887aa

Please sign in to comment.