Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug: ~/.asdf/asdf.fish fails on fish 3.1.2 on raspbian bullseye #1585

Closed
sdellysse opened this issue Jul 1, 2023 · 0 comments · Fixed by #1590
Closed

bug: ~/.asdf/asdf.fish fails on fish 3.1.2 on raspbian bullseye #1585

sdellysse opened this issue Jul 1, 2023 · 0 comments · Fixed by #1590
Labels

Comments

@sdellysse
Copy link

Describe the Bug

On latest version of raspbian, fish startup fails after adding source ~/.asdf/asdf.fish

Steps to Reproduce

  1. Install raspbian bullseye 64bit lite on pi4b+ 8gb
  2. sudo apt install --yes curl git fish && sudo chsh -s /usr/bin/fish $USER
  3. git clone https://github.com/asdf-vm/asdf.git ~/.asdf --branch v0.12.0
  4. echo 'source ~/.asdf/asdf.fish' >> ~/.config/fish/config.fish
  5. relogin

Expected Behaviour

asdf should load cleanly

Actual Behaviour

Linux towerpi 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr  3 17:24:16 BST 2023 aarch64

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
Last login: Sat Jul  1 02:43:50 2023 from 192.168.238.249
set --erase: Expected 1 args, got 2

~/.asdf/asdf.fish (line 21):
set --erase _asdf_bin _asdf_shims
^
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 set' for related documentation)
Welcome to fish, the friendly interactive shell
Type `help` for instructions on how to use fish

notroot@towerpi ~> cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 11 (bullseye)"
NAME="Debian GNU/Linux"
VERSION_ID="11"
VERSION="11 (bullseye)"
VERSION_CODENAME=bullseye
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

notroot@towerpi ~> fish --version
fish, version 3.1.2

Environment

OS:
Linux towerpi 6.1.21-v8+ #1642 SMP PREEMPT Mon Apr  3 17:24:16 BST 2023 aarch64 GNU/Linux

SHELL:
fish, version 3.1.2

BASH VERSION:
5.1.4(1)-release

ASDF VERSION:
v0.12.0-816195d

ASDF INTERNAL VARIABLES:
ASDF_DEFAULT_TOOL_VERSIONS_FILENAME=.tool-versions
ASDF_DATA_DIR=/home/notroot/.asdf
ASDF_DIR=/home/notroot/.asdf
ASDF_CONFIG_FILE=/home/notroot/.asdfrc

No plugins installed
ASDF INSTALLED PLUGINS:


### asdf plugins affected (if relevant)

_No response_
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant