diff --git a/Makefile b/Makefile index b5c6ead..12eb545 100644 --- a/Makefile +++ b/Makefile @@ -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 "==================================" diff --git a/symlinks/config/direnv/.gitignore b/symlinks/config/direnv/.gitignore index 9c94fce..9cde043 100644 --- a/symlinks/config/direnv/.gitignore +++ b/symlinks/config/direnv/.gitignore @@ -1,2 +1,4 @@ allow/ allow +lib/ +lib diff --git a/symlinks/config/direnv/direnvrc b/symlinks/config/direnv/direnvrc index 0a0088c..878c1ca 100644 --- a/symlinks/config/direnv/direnvrc +++ b/symlinks/config/direnv/direnvrc @@ -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.' diff --git a/symlinks/config/fish/conf.d/.gitignore b/symlinks/config/fish/conf.d/.gitignore new file mode 100644 index 0000000..fd79e1d --- /dev/null +++ b/symlinks/config/fish/conf.d/.gitignore @@ -0,0 +1 @@ +asdf_direnv.fish diff --git a/symlinks/tool-versions b/symlinks/tool-versions index b6afab6..860b8d7 100644 --- a/symlinks/tool-versions +++ b/symlinks/tool-versions @@ -1,4 +1,4 @@ -direnv 2.27.0 +direnv 2.31.0 nodejs 16.9.1 python system ruby 3.0.0