Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Projects pane: Fix opening files' location in Terminal (#358)
* Rename menu item to "Show in Terminal". It's symmetrical to "Show in Tracker". It's more correct, because you don't just open a Terminal somewhere, but in the location of the selected file/folder. * "Show in Terminal" only worked correctly when invoked in a directory. Invoked on a file, it opened in the project's top folder instead. Terminal's "-w" parameter only accepts folders, not files. No we check if the invoked-on item is a directory. If it isn't use the files parent directory.
- Loading branch information