diff options
Diffstat (limited to 'XMonad/Prompt')
-rw-r--r-- | XMonad/Prompt/Shell.hs | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/XMonad/Prompt/Shell.hs b/XMonad/Prompt/Shell.hs index d8aa272..c391ca3 100644 --- a/XMonad/Prompt/Shell.hs +++ b/XMonad/Prompt/Shell.hs @@ -29,18 +29,18 @@ module XMonad.Prompt.Shell , split ) where -import Codec.Binary.UTF8.String (encodeString) -import Control.Exception -import Control.Monad (forM) -import Data.List (isPrefixOf) -import Prelude hiding (catch) -import System.Directory (doesDirectoryExist, getDirectoryContents) -import System.Environment (getEnv) -import System.Posix.Files (getFileStatus, isDirectory) - -import XMonad.Util.Run -import XMonad hiding (config) -import XMonad.Prompt +import Codec.Binary.UTF8.String (encodeString) +import Control.Exception +import Control.Monad (forM) +import Data.List (isPrefixOf) +import Prelude hiding (catch) +import System.Directory (doesDirectoryExist, getDirectoryContents) +import System.Environment (getEnv) +import System.Posix.Files (getFileStatus, isDirectory) + +import XMonad hiding (config) +import XMonad.Prompt +import XMonad.Util.Run econst :: Monad m => a -> IOException -> m a econst = const . return |