Version: 2.5 (using KDE 4.4.4) OS: Linux I often have a deeply nested directory (~/abc/2010/summer/project123) symlinked to something shorter (~/now). If I cd ~/now in Konsole and then create a new tab, the new tab starts in the expanded (real) directory ~/abc/2010/summer/project123. It would be really great if Konsole could detect the symbolic link, and create the new tab in the same directory (~/now). Reproducible: Always Steps to Reproduce: cd /tmp mkdir -p deeply/nested/dir ln -s deeply/nested/dir short cd short <Ctrl+Shift+N> Actual Results: new tab is created in /tmp/deeply/nested/dir Expected Results: new tab would ideally be created in /tmp/short
That sounds nice, but I doubt whether it is possible to implement that. konsole gets the PWD of the terminal process(shell,vim,etc) by looking at(on Linux) /proc/<pid>/cwd, which is itself a symlink pointing to the expanded PWD in absolute path. when you have a symlink, you can easily know its target. But when you only have the target, how can you find which symlink has taken you here?
I agree w/ #1, there is another bug report about symlinks that I looked into it. I don't think this possible.
Would it be possible to fix this one now since Konsole does display the unresolved working directory path in its title/tab bar nowadays?
NVM, the comment at https://bugs.kde.org/show_bug.cgi?id=327720#c1 explains what is needed to make this work. Turns out oh-my-zsh has support for this limited to macOS' iTerm.app at the moment. I'll open a PR with them instead.