aboutsummaryrefslogtreecommitdiff
path: root/lib/Daffm/Action/Core.hs
diff options
context:
space:
mode:
authorAkshay Nair <phenax5@gmail.com>2025-10-06 00:56:23 +0530
committerAkshay Nair <phenax5@gmail.com>2025-10-08 13:09:34 +0530
commita9189b183b96634a6af335b447f9aa44263ac304 (patch)
treec10617f4c5090539abab25e170fd8e98f613740f /lib/Daffm/Action/Core.hs
parent41d8a90746cd97d1dcb8228c1e9a0846ba9d9b6a (diff)
downloaddaffm-a9189b183b96634a6af335b447f9aa44263ac304.tar.gz
daffm-a9189b183b96634a6af335b447f9aa44263ac304.zip
Add symlink resolution for navigation
Diffstat (limited to 'lib/Daffm/Action/Core.hs')
-rw-r--r--lib/Daffm/Action/Core.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Daffm/Action/Core.hs b/lib/Daffm/Action/Core.hs
index a726c77..72bccef 100644
--- a/lib/Daffm/Action/Core.hs
+++ b/lib/Daffm/Action/Core.hs
@@ -48,6 +48,7 @@ openSelectedFile :: AppEvent ()
openSelectedFile = do
currentFile >>= \case
Just (FileInfo {filePath, fileType = Directory}) -> loadDir filePath
+ Just (FileInfo {filePath, fileLinkType = Just Directory}) -> loadDir filePath
Just _ -> do
opener <- gets (fromMaybe "echo '%F' | xargs -i xdg-open {}" . stateOpenerScript)
cmdSubstitutions opener >>= suspendAndRunShellCommand False