Search code examples
macosunixpathfish

Fish Interactive Shell full path


Is there a way in the Fish Interactive shell for the full path to be displayed. Currently when I navigate to a directory I get the following shell.

millermj@Dodore ~/o/workspace

but I would rather see

millermj@Dodore ~/o-town/workspace

Solution

  • With the new fishshell (v2.3) you can do set -U fish_prompt_pwd_dir_length 0. And it will use the full path. I also use dartfish for my theme. See example below:

    enter image description here