I have searched this question for a while, but no exact answer on it.
I want to create a custom shortcut that can open the current directory in terminal.
So how can I get the path without using terminal?
Simplify the question: I know right click the target folder and select open in terminal can open this folder in a terminal. I want to create a custom shortcut instead of this action.