Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Improve Fish path setup on macOS #91629

Copy link
Copy link
Closed
@drewcassidy

Description

@drewcassidy
Issue body actions

Feature or enhancement

Improve the path setup on macOS for users of the Fish shell

Pitch

Right now, the installer sets up python paths the same way as on every other shell: by appending a line to the end of the config file that adds directly to $PATH. Modifying the users config directly is not the best way to do this in fish, which has a conf.d directory to place configs into instead. In addition, fish has the fish_add_path function that doesn't allow duplicate entries in the PATH which can get out of hand when re-sourcing the config file multiple times.

I am working on a PR to address this right now, by writing a file for each python install to conf.d which adds the path using fish_add_path

Linked PRs

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

    Morty Proxy This is a proxified and sanitized view of the page, visit original site.