Add dotnet-core to asdf config
parent
7c3477dd9a
commit
74d2ae80a0
|
@ -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
|
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_DIR /opt/asdf-vm
|
||||||
set -gx ASDF_CONFIG_FILE $XDG_CONFIG_HOME/asdf/asdfrc
|
set -gx ASDF_CONFIG_FILE $XDG_CONFIG_HOME/asdf/asdfrc
|
||||||
set -gx ASDF_DATA_DIR $XDG_DATA_HOME/asdf
|
set -gx ASDF_DATA_DIR $XDG_DATA_HOME/asdf
|
||||||
source $ASDF_DIR/asdf.sh
|
source $ASDF_DIR/asdf.sh
|
||||||
else
|
else
|
||||||
source ~/.asdf/asdf.fish
|
source ~/.asdf/asdf.fish
|
||||||
|
if [ -f ~/.asdf/plugins/dotnet-core/set-dotnet-home.fish ]
|
||||||
|
. ~/.asdf/plugins/dotnet-core/set-dotnet-home.fish
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
eval (asdf exec direnv hook fish | source)
|
eval (asdf exec direnv hook fish | source)
|
||||||
|
|
|
@ -9,3 +9,4 @@ python system
|
||||||
ruby 3.0.0
|
ruby 3.0.0
|
||||||
rust 1.49.0
|
rust 1.49.0
|
||||||
neovim nightly
|
neovim nightly
|
||||||
|
dotnet-core 5.0.202
|
||||||
|
|
Loading…
Reference in New Issue