Add asdf as version manager (#2)

* feat(asdf): add new version manager asdf

* feat(asdf): replace nvm with asdf

* feat(asdf): replace rbenv with asdf

* chore: add aliases for git

* feat(asdf): replace pyenv with asdf

* feat(asdf): add asdf as version manager for rust

* chore: shorten comments

* feat(asdf): add asdf as deno version manager

* feat(asdf): add direnv plugin and setup shell

* chore(asdf): move configuration in folder
This commit is contained in:
Stefan Imhoff
2022-10-27 19:53:56 +02:00
committed by GitHub
parent b956d4c41a
commit 1e43546b9a
18 changed files with 107 additions and 152 deletions

View File

@@ -1,6 +1,20 @@
# Don't print a new line at the start of the prompt
add_newline = false
command_timeout = 1000
[nodejs]
detect_files = ["package.json", ".node-version", ".nvmrc", ".tool-versions"]
[ruby]
detect_files = ["Gemfile", ".ruby-version", ".tool-versions"]
[python]
detect_files = [".python-version", "Pipfile", "__init__.py", "pyproject.toml", "requirements.txt", "setup.py", "tox.ini", '.tool-versions']
[rust]
detect_files = ["Cargo.toml", ".tool-versions"]
# "bold red" style when capacity is between 0% and 10%
[[battery.display]]
threshold = 10