ShellPrompt.hs: minor haddock corrections

This commit is contained in:
Andrea Rossato
2007-08-04 10:44:08 +00:00
parent 8013b54f40
commit fb2a279ce5

View File

@@ -17,22 +17,6 @@ module XMonadContrib.ShellPrompt (
-- $usage
shellPrompt
) where
{-
usage:
1. In xmonad.cabal change:
build-depends: base>=2.0, X11>=1.2.1, X11-extras>=0.2, mtl>=1.0, unix>=1.0
to
build-depends: base>=2.0, X11>=1.2.1, X11-extras>=0.2, mtl>=1.0, unix>=1.0, readline >= 1.0
2. In Config.hs add:
> import XMonadContrib.XPrompt
> import XMonadContrib.ShellPrompt
3. In your keybindings add something like:
> , ((modMask .|. controlMask, xK_x), shellPrompt defaultXPConfig)
-}
import XMonad
import XMonadContrib.XPrompt
@@ -42,6 +26,26 @@ import Data.List
import System.Console.Readline
import System.Environment
-- $usage
--
-- 1. In xmonad.cabal change:
--
-- > build-depends: base>=2.0, X11>=1.2.1, X11-extras>=0.2, mtl>=1.0, unix>=1.0
--
-- to
--
-- > build-depends: base>=2.0, X11>=1.2.1, X11-extras>=0.2, mtl>=1.0, unix>=1.0, readline >= 1.0
--
-- 2. In Config.hs add:
--
-- > import XMonadContrib.XPrompt
-- > import XMonadContrib.ShellPrompt
--
-- 3. In your keybindings add something like:
--
-- > , ((modMask .|. controlMask, xK_x), shellPrompt defaultXPConfig)
--
data Shell = Shell
instance XPrompt Shell where