Update asdf direnv configuration

main
Ensar Sarajčić 2022-05-10 11:05:27 +02:00
parent e42ee7b48d
commit 5f3addf206
5 changed files with 7 additions and 3 deletions

View File

@ -285,6 +285,9 @@ install_asdf: check_os
@echo "Configure it as global using: "
@echo "asdf global direnv $$version"
@echo ""
@echo "Configure it with provided function:"
@echo "asdf direnv setup --shell fish --version latest"
@echo ""
@echo "When using in projects, put the following in .envrc: "
@echo "use asdf"
@echo "=================================="

View File

@ -1,2 +1,4 @@
allow/
allow
lib/
lib

View File

@ -1,5 +1,3 @@
source "$(asdf direnv hook asdf)"
layout_poetry() {
if [[ ! -f pyproject.toml ]]; then
log_error 'No pyproject.toml found. Use `poetry new` or `poetry init` to create one first.'

View File

@ -0,0 +1 @@
asdf_direnv.fish

View File

@ -1,4 +1,4 @@
direnv 2.27.0
direnv 2.31.0
nodejs 16.9.1
python system
ruby 3.0.0