aboutsummaryrefslogtreecommitdiffstats
path: root/ShellPrompt.hs
diff options
context:
space:
mode:
authorAndrea Rossato <andrea.rossato@unibz.it>2007-08-04 12:44:08 +0200
committerAndrea Rossato <andrea.rossato@unibz.it>2007-08-04 12:44:08 +0200
commitdf02707c6f293f7cd93ccc6088d0f9cb46e5b823 (patch)
tree9320ab9f752fc7ad5ce61dd32fc1ab4f681231fc /ShellPrompt.hs
parent6acb7bb8f348076cf553b4e64c42a4acbbed818b (diff)
downloadXMonadContrib-df02707c6f293f7cd93ccc6088d0f9cb46e5b823.tar.gz
XMonadContrib-df02707c6f293f7cd93ccc6088d0f9cb46e5b823.tar.xz
XMonadContrib-df02707c6f293f7cd93ccc6088d0f9cb46e5b823.zip
ShellPrompt.hs: minor haddock corrections
darcs-hash:20070804104408-32816-1fa6a469e31e8f6003e2df71e87b4ffaca3b500f.gz
Diffstat (limited to 'ShellPrompt.hs')
-rw-r--r--ShellPrompt.hs36
1 files changed, 20 insertions, 16 deletions
diff --git a/ShellPrompt.hs b/ShellPrompt.hs
index 7fc0ce3..dfa77d0 100644
--- a/ShellPrompt.hs
+++ b/ShellPrompt.hs
@@ -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