Skip to content

How to set $PATH persistently? #527

@dag

Description

@dag

To prepend to $PATH persistently, since fish 3.2.0:

 fish_add_path /path/to/add

Top comment hijacked by @faho and @ridiculousfish to help people landing here from search engines. Original comment follows:


I try set -U PATH ~/.cabal/bin $PATH which sets it in the shell I type it in, but not any new shells I launch and it's gone if I restart the first shell as well.

Using git HEAD on Fedora 18.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions