A buddy of mine finally got me to start using Fish Shell and I'm trying to set it up similar to how I had Bash. The PS1 in my .bash_profile listed the current directory I was in, followed by a >. It, however, wasn't the absolute path (e.g. /Users/me/Documents/... or ~/Documents/...). If I was in /Users/me/Documents/projects/Go/project1/, the prompt would simply say project1 >.
Is there a Fish Shell alternative to the \W substitution available for Bash? Again, I just want the folder I'm in, not the full path. I know you can use the echo (pwd) for all that.
I have looked into the basename program, and echo "${PWD##*/}", but these appear to only work in Bash.

basenameas described in the Fish doc?echo (basename)and I get the following:usage: basename string [suffix] basename [-a] [-s suffix] string [...]basenameprogram [...] but these appear to only work in Bash.basenameis just a Unix utility; it's not associated to a particular shell, and should work equally well in Bash and Fish.echo (basename $PWD)and this solved it.