https://bugs.kde.org/show_bug.cgi?id=507026
Bug ID: 507026
Summary: useraction variable %aPath% ignoring protocol
Classification: Applications
Product: krusader
Version First unspecified
Reported In:
Platform: Other
OS: Linux
Status: REPORTED
Severity: normal
Priority: NOR
Component: general
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected]
Target Milestone: ---
SUMMARY
It is currently impossible to get the file system in user actions.
STEPS TO REPRODUCE
1. Add a user action: echo %aPath%
2. Open a sftp://example.com/dir in a tab
3. Hit the user action, the output is `/dir`
OBSERVED RESULT
`/dir`
EXPECTED RESULT
Either `sftp://example.com/dir` OR have another variable to %aFilesystem%.
SOFTWARE/OS VERSIONS
Krusader: 2.8.1
ADDITIONAL INFORMATION
https://docs.kde.org/trunk5/en/krusader/krusader/useractions.html
My use case: To open a terminal in the same dir as the panel: `terminator
--command "ssh $(echo \"%aPath%\" | sed -E 's#sftp://([^/]+)/(.*)#\1 -t \"cd
/\2; bash\"#')"`
--
You are receiving this mail because:
You are watching all bug changes.