| Summary: | detect symbolic links in pwd when creating new tab | ||
|---|---|---|---|
| Product: | [Applications] konsole | Reporter: | Constantin Berzan <cberzan> |
| Component: | general | Assignee: | Konsole Bugs <konsole-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | wishlist | CC: | adaptee, erin-kde |
| Priority: | NOR | ||
| Version First Reported In: | 2.5 | ||
| Target Milestone: | --- | ||
| Platform: | Ubuntu | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Constantin Berzan
2010-07-13 02:08:54 UTC
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. |