You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
asdf's initialization script throws an error when using fish.
~/.asdf/asdf.fish (line 1):
builtin realpath --no-symlinks (dirname (status filename))
^
in command substitution
called on line 2 of file ~/.asdf/asdf.fish
from sourcing file ~/.asdf/asdf.fish
called on line 1 of file ~/.config/fish/config.fish
from sourcing file ~/.config/fish/config.fish
called during startup
(Type 'help realpath' for related documentation)
This is with versions:
codespace:/home/codespace> ~/.asdf/bin/asdf --version
v0.14.1-f00f759
codespace:/home/codespace> fish --version
fish, version 3.1.0
Steps to Reproduce
Install asdf, following the instructions on the website to source ~/.asdf/asdf.fish inside ~/.config/fish/config.fish
Don't set ASDF_DIR globally
Start a new shell.
Expected Behaviour
The error should not be thrown.
Actual Behaviour
The error is thrown.
Environment
I couldn't grab this with fish shell, where I'm getting the error, because the initialization of asdf fails.
OS:
Linux codespaces-ebfa50 6.5.0-1025-azure #26~22.04.1-Ubuntu SMP Thu Jul 11 22:33:04 UTC 2024 x86_64 x86_64 x86_64 GNU/Linux
SHELL:
GNU bash, version 5.0.17(1)-release (x86_64-pc-linux-gnu)
Copyright (C) 2019 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software; you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
BASH VERSION:
5.0.17(1)-release
ASDF VERSION:
v0.14.1-f00f759
ASDF INTERNAL VARIABLES:
ASDF_DEFAULT_TOOL_VERSIONS_FILENAME=.tool-versions
ASDF_DATA_DIR=/home/codespace/.asdf
ASDF_DIR=/home/codespace/.asdf
ASDF_CONFIG_FILE=/home/codespace/.asdfrc
ASDF INSTALLED PLUGINS:
air https://github.com/pdemagny/asdf-air main 4c5826e
bat https://gitlab.com/wt0f/asdf-bat.git master 64022b1
bottom https://github.com/carbonteq/asdf-btm.git master fd8a55a
bun https://github.com/cometkim/asdf-bun.git main f383312
delta https://github.com/andweeb/asdf-delta.git master 501318b
dust https://github.com/looztra/asdf-dust.git master 11bdb8a
eza https://github.com/lwiechec/asdf-eza.git master 11f578d
fd https://gitlab.com/wt0f/asdf-fd.git master 17d56e0
golang https://github.com/asdf-community/asdf-golang.git master f80bd84
jq https://github.com/lsanwick/asdf-jq.git master addae51
lazygit https://github.com/nklmilojevic/asdf-lazygit.git main 78e04f1
neovim https://github.com/richin13/asdf-neovim.git master d6118ad
nodejs https://github.com/asdf-vm/asdf-nodejs.git master c36e6f0
pnpm https://github.com/jonathanmorley/asdf-pnpm.git master 184f8cb
ripgrep https://gitlab.com/wt0f/asdf-ripgrep.git master e836665
xh https://github.com/NeoHsu/asdf-xh master fb8d3e7
asdf plugins affected (if relevant)
No response
The text was updated successfully, but these errors were encountered:
Describe the Bug
asdf's initialization script throws an error when using fish.
This is with versions:
Steps to Reproduce
~/.asdf/asdf.fish
inside~/.config/fish/config.fish
ASDF_DIR
globallyExpected Behaviour
The error should not be thrown.
Actual Behaviour
The error is thrown.
Environment
I couldn't grab this with fish shell, where I'm getting the error, because the initialization of asdf fails.
asdf plugins affected (if relevant)
No response
The text was updated successfully, but these errors were encountered: