Skip to content

First-class support for $fisher_path #640

Closed as not planned
Closed as not planned
@jorgebucaran

Description

@jorgebucaran

We can customize the installation path using $fisher_path, but Fisher doesn't help you with the boilerplate code necessary to load it during startup. It would be great if Fisher did all this work when you're using a custom $fisher_path.

Something like this via $__fish_config/conf.d/fisher.fish would do it:

set --query fisher_path || exit

set fish_function_path $fish_function_path[1] $fisher_path/functions $fish_function_path[2..-1]
set fish_complete_path $fish_complete_path[1] $fisher_path/completions $fish_complete_path[2..-1]

for file in $fisher_path/conf.d/*.fish
    source $file
end

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or bug fix

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions