Hacker Timesnew | past | comments | ask | show | jobs | submitlogin

Some background: the "symlink problem" refers to this: http://fishshell.com/docs/current/faq.html#faq-cwd-symlink

In bash, if you cd into a symlink and then cd .., you get back to where you started. But fish will resolve the symlink, and so it will take you to the destination's parent.

The price bash pays is inconsistencies between external commands and builtins. For example, `ls ..` can output something different than `cd .. && ls`. This is because the kernel maintains the cwd as an inode, not a path.

I don't know of anyone who is wedded to the existing behavior. If you feel strongly about it or have ideas for how it ought to work, please comment in the issue! https://github.com/fish-shell/fish-shell/issues/1957



Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: