Update asdf direnv configuration
parent
e42ee7b48d
commit
5f3addf206
3
Makefile
3
Makefile
|
@ -285,6 +285,9 @@ install_asdf: check_os
|
||||||
@echo "Configure it as global using: "
|
@echo "Configure it as global using: "
|
||||||
@echo "asdf global direnv $$version"
|
@echo "asdf global direnv $$version"
|
||||||
@echo ""
|
@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 "When using in projects, put the following in .envrc: "
|
||||||
@echo "use asdf"
|
@echo "use asdf"
|
||||||
@echo "=================================="
|
@echo "=================================="
|
||||||
|
|
|
@ -1,2 +1,4 @@
|
||||||
allow/
|
allow/
|
||||||
allow
|
allow
|
||||||
|
lib/
|
||||||
|
lib
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
source "$(asdf direnv hook asdf)"
|
|
||||||
|
|
||||||
layout_poetry() {
|
layout_poetry() {
|
||||||
if [[ ! -f pyproject.toml ]]; then
|
if [[ ! -f pyproject.toml ]]; then
|
||||||
log_error 'No pyproject.toml found. Use `poetry new` or `poetry init` to create one first.'
|
log_error 'No pyproject.toml found. Use `poetry new` or `poetry init` to create one first.'
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
asdf_direnv.fish
|
|
@ -1,4 +1,4 @@
|
||||||
direnv 2.27.0
|
direnv 2.31.0
|
||||||
nodejs 16.9.1
|
nodejs 16.9.1
|
||||||
python system
|
python system
|
||||||
ruby 3.0.0
|
ruby 3.0.0
|
||||||
|
|
Loading…
Reference in New Issue