mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-05-19 11:30:22 -07:00
Remove spurious output from ShellPrompt
This commit is contained in:
parent
39b30296c5
commit
df3d489284
@ -60,7 +60,6 @@ getShellCompl s
|
|||||||
| s /= "" && last s /= ' ' = do
|
| s /= "" && last s /= ' ' = do
|
||||||
f <- fmap lines $ runProcessWithInput "/bin/bash" [] ("compgen -A file " ++ s ++ "\n")
|
f <- fmap lines $ runProcessWithInput "/bin/bash" [] ("compgen -A file " ++ s ++ "\n")
|
||||||
c <- commandCompletionFunction s
|
c <- commandCompletionFunction s
|
||||||
hPutStrLn stdout s
|
|
||||||
return . map escape . sort . nub $ f ++ c
|
return . map escape . sort . nub $ f ++ c
|
||||||
| otherwise = return []
|
| otherwise = return []
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user