Add dotnet-core to asdf config

pull/1/head
Ensar Sarajčić 2021-04-09 16:35:37 +02:00
parent 7c3477dd9a
commit 74d2ae80a0
2 changed files with 5 additions and 1 deletions

View File

@ -16,13 +16,16 @@ abbr -a batdiff "git diff --name-only --diff-filter=d | xargs bat --diff"
source ~/.config/fish/platform_config/$MACHINE_TYPE.fish
if [ -f /opt/asdf-vm/asdf.sh ]; then
if [ -f /opt/asdf-vm/asdf.sh ]
set -gx ASDF_DIR /opt/asdf-vm
set -gx ASDF_CONFIG_FILE $XDG_CONFIG_HOME/asdf/asdfrc
set -gx ASDF_DATA_DIR $XDG_DATA_HOME/asdf
source $ASDF_DIR/asdf.sh
else
source ~/.asdf/asdf.fish
if [ -f ~/.asdf/plugins/dotnet-core/set-dotnet-home.fish ]
. ~/.asdf/plugins/dotnet-core/set-dotnet-home.fish
end
end
eval (asdf exec direnv hook fish | source)

View File

@ -9,3 +9,4 @@ python system
ruby 3.0.0
rust 1.49.0
neovim nightly
dotnet-core 5.0.202