diff --git a/hledger/Hledger/Cli/Options.hs b/hledger/Hledger/Cli/Options.hs index 3c496d6c7..2e7525867 100644 --- a/hledger/Hledger/Cli/Options.hs +++ b/hledger/Hledger/Cli/Options.hs @@ -405,7 +405,7 @@ getHledgerAddonCommands = map (drop (length progname + 1)) `fmap` getHledgerExes -- list if there is a problem. getHledgerExesInPath :: IO [String] getHledgerExesInPath = do - pathdirs <- splitOn ":" `fmap` getEnvSafe "PATH" + pathdirs <- regexSplit "[:;]" `fmap` getEnvSafe "PATH" pathfiles <- concat `fmap` mapM getDirectoryContentsSafe pathdirs let hledgernamed = -- nubBy (\a b -> stripAddonExtension a == stripAddonExtension b) $