fix L.WorkspaceDir special char handling: remove "echo -n" processing

This commit is contained in:
Steffen Schuldenzucker
2012-02-27 12:20:04 +00:00
parent f6a050e5a3
commit c012b3408d

View File

@@ -90,8 +90,7 @@ cleanDir :: String -> X String
cleanDir x = scd x >> io getCurrentDirectory
scd :: String -> X ()
scd x = do x' <- io (runProcessWithInput "bash" [] ("echo -n " ++ x) `catch` econst x)
catchIO $ setCurrentDirectory x'
scd x = catchIO $ setCurrentDirectory x
changeDir :: XPConfig -> X ()
changeDir c = directoryPrompt c "Set working directory: " (sendMessage . Chdir)