I'm trying out Fish shell in OS X and was wondering if there's the same kind of path replacement functionality as I believe there is in Zsh, i.e.
user@machine ~> % cd /usr/www/site1/current/log user@machine /usr/www/site1/current/log %> cd site1 site2 /usr/www/site2/current/log user@machine /usr/www/site2/current/log %> The example is taken - and customized - from the SlideShare Why Zsh is Cooler than Your Shell.
I tried that in Fish but it doesn't seem to work, at least using the same syntax. I haven't found anything with "path replacement" in Fish documentation, either.