diff options
author | gwern0 <gwern0@gmail.com> | 2007-10-19 20:13:17 +0200 |
---|---|---|
committer | gwern0 <gwern0@gmail.com> | 2007-10-19 20:13:17 +0200 |
commit | 1fba4912886e3e397565fa17d2de7f17005c476e (patch) | |
tree | 00247eebb1eaf1a2d319ad2d3a90206a43d07ab5 | |
parent | 1dedda08b5bb86fc4ade65763d0acc5695a811c9 (diff) | |
download | XMonadContrib-1fba4912886e3e397565fa17d2de7f17005c476e.tar.gz XMonadContrib-1fba4912886e3e397565fa17d2de7f17005c476e.tar.xz XMonadContrib-1fba4912886e3e397565fa17d2de7f17005c476e.zip |
ShellPrompt.hs: fmt imports and update
darcs-hash:20071019181317-f7719-abc19fe0c3776416ae754d75fbfb467f8b66e942.gz
-rw-r--r-- | ShellPrompt.hs | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/ShellPrompt.hs b/ShellPrompt.hs index 493b2c1..c24c842 100644 --- a/ShellPrompt.hs +++ b/ShellPrompt.hs @@ -23,16 +23,17 @@ module XMonadContrib.ShellPrompt ( , runInXTerm ) where -import XMonad -import XMonadContrib.XPrompt -import XMonadContrib.Run - -import Control.Monad -import Data.List +import System.Environment (getEnv) +import Control.Monad (Monad((>>=), return), Functor(..), filterM, forM) +import Data.List ((++), concat, filter, map, lines, elem, span, tail, last, + isPrefixOf) import Data.Set (toList, fromList) -import System.Directory -import System.IO -import System.Environment +import System.Directory (Permissions(executable), getPermissions, + getDirectoryContents, doesDirectoryExist, doesFileExist) +import System.IO (IO, FilePath) +import XMonadContrib.Run (runProcessWithInput, safeSpawn, unsafeSpawn) +import XMonad (X, io, spawn) +import XMonadContrib.XPrompt (XPrompt(..), XPConfig, mkXPrompt) -- $usage -- |