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

Install plugins in $__fish_user_data_dir #768

Closed
Bekaboo opened this issue Jul 18, 2023 · 1 comment
Closed

Install plugins in $__fish_user_data_dir #768

Bekaboo opened this issue Jul 18, 2023 · 1 comment

Comments

@Bekaboo
Copy link

Bekaboo commented Jul 18, 2023

Hi, first of all thanks for making this plugin!

As said in #568, I think it makes more sense to install fisher and other plugins under $XDG_DATA_DIR/$__fish_user_data_dir instead of $XDG_CONFIG_DIR/$__fish_config_dir.

It seems that fisher implemented this in #571, but after calling fisher install xxx, I find the plugin is installed under my config dir.

How can I install plugins under my data dir? Thanks!

@jorgebucaran
Copy link
Owner

If we modify the directory as you suggested, various elements like functions, completions, conf.d won't automatically load in new shells without an additional startup script (there's nothing fundamentally flawed with that, but I really appreciate how Fisher "just works" now). The PR you're talking about primarily adjusted the location of Fisher's internal data to $__fish_user_data_dir, it didn't change the plugin installation location ($fisher_path).

If you're looking to change where Fisher installs plugins, follow the instructions here.

@jorgebucaran jorgebucaran closed this as not planned Won't fix, can't repro, duplicate, stale Jul 19, 2023
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