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

to clean "fish: Unknown command: __to_expand" deletes all bookmarks #11

Closed
et-rnal opened this issue Apr 14, 2023 · 1 comment
Closed

Comments

@et-rnal
Copy link

et-rnal commented Apr 14, 2023

on a fresh install of fish shell, the "clean" function appears to not be functional. the resulting behavior is deletion of all bookmarks. this occurs regardless as to whether or not any symlinks are broken

$ to ls
here -> ~/.config/fish/functions

$ to clean
fish: Unknown command: __to_expand
in command substitution
	called on line 203 of file ~/.config/fish/functions/to.fish
in function 'to' with arguments 'clean'
~/.config/fish/functions/to.fish (line 203): Unknown command
        set -l dest (__to_expand $bm)
                    ^~~~~~~~~~~~~~~~^
in function 'to' with arguments 'clean'
removed '/home/user/.config/fish/bookmarks/here'

joehillen added a commit that referenced this issue Apr 25, 2023
It was removing all bookmarks =(

Closes #11
@joehillen
Copy link
Owner

I'm super sorry that your bookmarks were deleted. It should be resolved now.

FYI: I changed the default bookmarks dir to ~/.local/share/to-fish

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

No branches or pull requests

2 participants