From 619709a7c10f0b9b84f1c51ec78e158a7e7026a2 Mon Sep 17 00:00:00 2001 From: Wojciech Siewierski Date: Sun, 1 Feb 2015 11:18:31 +0100 Subject: core.actions: tab_switch uses realpath This way the different representation of the same path are treated in the same way. --- ranger/core/actions.py | 1 + 1 file changed, 1 insertion(+) diff --git a/ranger/core/actions.py b/ranger/core/actions.py index 9db80f6b..20fb2ae9 100644 --- a/ranger/core/actions.py +++ b/ranger/core/actions.py @@ -1071,6 +1071,7 @@ class Actions(FileManagerAware, EnvironmentAware, SettingsAware): If path does not exist, it is treated as a directory. """ + path = realpath(path) if not os.path.exists(path): file_selection = None if create_directory: -- cgit 1.4.1-2-gfad0