Fish Interactive Shell full path

Milhous picture Milhous · May 15, 2009 · Viewed 11k times · Source

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

Answer

Amir Raminfar picture Amir Raminfar · May 20, 2016

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