mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-07-26 09:41:52 -07:00
fix L.WorkspaceDir special char handling: remove "echo -n" processing
This commit is contained in:
@@ -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)
|
||||
|
Reference in New Issue
Block a user