aboutsummaryrefslogtreecommitdiffstats
path: root/XMonad/Prompt (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Make commandToComplete in XMonad.Prompt.Shell complete last wordmd143rbh7f2014-01-301-1/+0
| | | | | | | | | | Ignore-this: b0fe22fdd7b9409835fd0ca069f2e01a The following change from 2013-02-09 breaks shell completion for me: hunk ./XMonad/Prompt/Shell.hs 65 + commandToComplete _ c darcs-hash:20140130200050-57ebf-1c86acb3860e9860cd99ec11f03d779622aea011.gz
* Fix issue 551 by also getting manpath without -g flag.Adam Vogt2013-07-161-3/+7
| | | | | | | | | | Ignore-this: ded2d51eb7b7697c0fdfaa8158d612df Instead of taking Ondrej's approach of figuring out which man (man-db or http://primates.ximian.com/~flucifredi/man/) is used by the system, just try both sets of flags. darcs-hash:20130716030536-1499c-7e886211a39a6576b40ed277811003d17f90ef88.gz
* Catch exceptions when finding commands on PATH in Prompt.ShellThomas Tuegel2013-06-171-6/+2
| | | | | | Ignore-this: 5a4d08c80301864bc14ed784f1054c3f darcs-hash:20130616230219-30370-faf7ce8665584673a3d0a5a1a609eebb56ab2b66.gz
* use Data.Default wherever possible, and deprecate the things it replacesDaniel Wagner2013-05-2813-20/+20
| | | | | | Ignore-this: 898458b1d2868a70dfb09faf473dc7aa darcs-hash:20130528013909-76d51-863278165b6f149c47b08b31b34e85ddcab19f1f.gz
* spawn command when no completion is available (if alwaysHighlight is True); ↵c.lopez2013-02-091-0/+1
| | | | | | | | changes commandToComplete in Prompt/Shell to complete the whole word instead of using getLastWord Ignore-this: ca7d354bb301b555b64d5e76e31d10e8 darcs-hash:20130209190456-c3db2-5bb4a8a2aa97c180814ca90a090054efc36d4cfe.gz
* Use Control.Exception.catch explitly to avoid warningsAdam Vogt2012-11-094-14/+9
| | | | | | | | | | | | | | Ignore-this: 2cebdfe604c581f2b4a644e9aed726c7 The base that comes with ghc-7.6.1 no longer includes Prelude.catch; so these modules were changed so that there is no warning for import Prelude hiding (catch) At the same time these changes should be compatible with older GHCs, since the catch being has never been the one in the Prelude. darcs-hash:20121109013506-1499c-c593662b0780eb49287efcbfe0e9796f7dd57c73.gz
* Correctly get the autocompletion item when alwaysHighlight in XMonad.Prompt ↵c.lopez2012-08-111-12/+12
| | | | | | | | is True Ignore-this: fa2600df210c7d3472a797f19fb31a7 darcs-hash:20120811104805-c3db2-130ba7583c5498a5d8b30f075d394db203f65329.gz
* P.Shell documentation and add missing unsafePrompt exportAdam Vogt2011-12-071-3/+11
| | | | | | | | | | | | Ignore-this: a03992ffdc9c1a0f5bfa6dafc453b587 Haddock (version 2.9.2 at least) does not attach documentation to any of a b or c when given: -- | documentation a,b,c :: X darcs-hash:20111207163951-1499c-63c977052b16fcd79857712ac39bd155cb6461d1.gz
* XMonad.Prompt.Shell: improve 'env' documentation to cover goodgrue's problemgwern02011-11-281-1/+3
| | | | | | Ignore-this: 7b652a280960cbdf99c236496ca091b0 darcs-hash:20111127231507-f7719-d135757d9c584e50d0cd4112d1a4d2fe87841f91.gz
* Be consistent with core utf8-string usage.Adam Vogt2011-11-181-3/+3
| | | | | | | | | | Ignore-this: 9de0599d0fb888c58e11598d4de9599e Now that spawn assumes executeFile takes a String containing utf8 codepoints (and takes an actual String as input) adjust Prompt.Shell to avoid double encoding. U.Run functions are updated to be consistent with spawn. darcs-hash:20111118184745-1499c-0f5bee188cc9540d2747db1adbf87619011a5443.gz
* Export types to reduce haddock warnings.Adam Vogt2010-10-2313-13/+26
| | | | | | Ignore-this: 1cac9202784711ce0fc902d14543bab0 darcs-hash:20101023195755-1499c-57c41357d20cbf0d57522ce99bdbfff7b686ed52.gz
* Correct completions of utf8-named file in X.P.ShellAdam Vogt2011-11-111-4/+5
| | | | | | Ignore-this: 9aa10143f313b06afdb11e61777a7d20 darcs-hash:20111111215655-1499c-778c2896f89bf1085217059c72b05857c04931a2.gz
* GHC 7 compatDaniel Wagner2011-07-314-6/+26
| | | | | | | | | Ignore-this: 17a43a709e70ebccc925e016d7057399 * true error: more modules export foldl/foldl'/foldr, so explicitly use the Data.Foldable one * -Werror error: transition from Control.OldException to Control.Exception, assuming everything was IOException darcs-hash:20110731170850-76d51-71271524485f6d10f84521f271182bea5085d400.gz
* X.A.AppendFile documentation fix.Adam Vogt2011-05-271-3/+5
| | | | | | | | | Ignore-this: 1ee126ddba1b06d07fba86ca43f74ab8 Forgotten > means haddock complained (and generated incorrect output). More controversially I reworded a sentence and use do notation. darcs-hash:20110527032854-1499c-b161b4dbab152c06532e3f2cb7d1922987123aa3.gz
* AppendFile: additional example of usagegwern02011-01-261-0/+9
| | | | | | Ignore-this: 2ba40977463ff15140067ef73947785c darcs-hash:20110126201018-f7719-372929e5841011021ff82411ac30fa6b8835acd2.gz
* remove decodeInput/encodeOutputgwern02010-06-151-50/+50
| | | | | | | | Ignore-this: 2ed6a014130dba95c6b0a6fcac055110 see http://code.google.com/p/xmonad/issues/detail?id48 they are just synonyms for 2 utf8-string functions, and don't really help darcs-hash:20100614232300-f7719-66f0606d9c7323186cb6aa56dff11c506bb79c4e.gz
* X.P.Ssh: add entries from .ssh/config to ssh prompt completionBrent Yorgey2009-12-291-1/+19
| | | | | | Ignore-this: fa638a0af4cb71be91f6c90bdf6d5513 darcs-hash:20091229171346-1e371-fd97e53030a55a95ca1027610a73b4642404b871.gz
* Workspace.hs: rm trailing whitespacegwern02010-03-141-1/+1
| | | | | | Ignore-this: c2888dc8aa919ce6da706ba8ea1c523a darcs-hash:20100314210101-f7719-31572e4c2fcbabfb55059e5d41731214dedb6afe.gz
* Layout.hs: rm trailing whitespacegwern02010-03-141-1/+1
| | | | | | Ignore-this: 5ad02e9c968bb49773e2bf05310a3754 darcs-hash:20100314210054-f7719-eda1bfd64f0210c17c00df3db2e9832815e6ad16.gz
* Directory.hs: rm trailing whitespacegwern02010-03-141-1/+1
| | | | | | Ignore-this: 1e83cd71f6439603b577874317cac8bb darcs-hash:20100314210047-f7719-0333394968fb6f0c2651e9dd5f9915fdc8efbcad.gz
* Use extensible-exceptions to allow base-3 or base-4Adam Vogt2010-01-242-3/+4
| | | | | | Ignore-this: 136f35fcc0f3a824b96eea0f4e04f276 darcs-hash:20100124203324-1499c-6e811978a61feebf704e3cd7543cbcc0b3e8a0b3.gz
* suppress some warnings under ghc 6.12.1 and clean up redundant imports to ↵Brent Yorgey2010-01-124-4/+0
| | | | | | | | get rid of some others. Ignore-this: bf3487b27036b02797d9f528a078d006 darcs-hash:20100112172507-1e371-1b466e62ac727b196330c72c8553116282ef5702.gz
* X.P.Shell, filter empty string from PATHTim Horton2009-12-241-1/+1
| | | | | | | | Ignore-this: 1aec55452f917d0be2bff7fcf5937766 doesDirectoryExist returns True if given an empty string using ghc < darcs-hash:20091224033217-1db5e-f87f8470346c2684d5b324048320e15f50f30377.gz
* Add a search predicate option to XMonad.PromptMike Lundy2009-12-211-2/+1
| | | | | | Ignore-this: 8e8804eeb9650d38bc225e15887310da darcs-hash:20091221025408-88b46-c700aa5d2fdcad96495c23e53f51496be36cbc7c.gz
* generalize IO actions to MonadIO mdaniel2009-11-141-1/+1
| | | | | | | | Ignore-this: 2c801a27b0ffee34a2f0daca3778613a This should not cause any working configs to stop working, because IO is an instance of MonadIO, and because complete configs will pin down the type of the call to IO. Note that XMonad.Config.Arossato is not a complete config, and so it needed some tweaks; with a main function, this should not be a problem. darcs-hash:20091114023616-c98ca-0a233cc53c41986845db4300530ec4f9e4d52a37.gz
* Refer to modm as the current modMaskAdam Vogt2009-10-2212-16/+16
| | | | | | | | Ignore-this: d097c7dc1746c55e1d4078a7148f9d5a This makes the config suggestions consistent with the current template. darcs-hash:20091022041126-1499c-5dd63076fdd71a61276cfc8e648bada81d9cc586.gz
* minor hlint cleanup of Prompt and XMonad.Prompt.* sub-modulessean.escriva2009-09-286-17/+15
| | | | | | Ignore-this: 25e71f59bdcc5bf94c2d6f476833216b darcs-hash:20090928204443-29414-d1844586f2955c8b76d971b20d6e2b6c1ea91d4d.gz
* Mark modules last-modified in 2007 as stableAdam Vogt2009-09-043-3/+3
| | | | | | | | Ignore-this: 53f7fde5684cd9f105cf4e3ce0d849d2 http://www.haskell.org/pipermail/xmonad/2009-July/008328.html darcs-hash:20090904005147-1499c-26b69f4359925d57dcbbed2a557fc4b1b69eaca4.gz
* remove myself as maintainer from code I don't maintain.David Roundy2009-07-163-3/+3
| | | | | | Ignore-this: 362988aeca1996474942fa29ffcccbce5e543e57 darcs-hash:20090716153409-72aca-1f9c8d54efb3471fcdf965fb079f9a0b5527a74e.gz
* Remove trailing whitespace from many modulesAdam Vogt2009-07-051-2/+2
| | | | | | Ignore-this: 1e28ff0974578d329bd3d593c1a5125e darcs-hash:20090705201205-1499c-581bd0bb43ab6096eccded6edbd54a7a2007b0d9.gz
* Cleanup code duplication in X.P.Layout and X.P.Workspacesean.escriva2009-07-012-8/+2
| | | | | | Ignore-this: 8675be8952f8d100c9042bdcdb962d3a darcs-hash:20090701215640-29414-635465e7306088202cdbe0bc5251811c9c7b5d73.gz
* Use -fwarn-tabs for test, remove tabsAdam Vogt2009-06-241-1/+1
| | | | | | Ignore-this: 84dfa0d9d50826527abbe7ff6acf4465 darcs-hash:20090624043831-1499c-2086e714723091fae9e3697df370a0634152f0a4.gz
* update callers of safeSpawngwern02009-06-221-1/+1
| | | | | | Ignore-this: 484eca17b9877f7d587fc5bce8c5ae8a darcs-hash:20090622201423-f7719-e2e02429f80ee2ef794680ebbffda67f1847835c.gz
* Remove some excess whitespace in XMonad.AppLauncherAdam Vogt2009-05-031-1/+1
| | | | | | Ignore-this: b5bfa9625b5b080c20398cf1aa396a08 darcs-hash:20090503183416-1499c-521c41e4bef75ed0b4164a34590d7fa98f4de3b2.gz
* Prompt.Shell: escape ampersandValery V. Vorotyntsev2009-03-121-2/+1
| | | | | | | | Ignore-this: 7200b76af8109bab794157da46cb0030 Ampersand (&) is a special character and should be escaped. darcs-hash:20090312091314-752c4-e16dcbdf05ea59db8b2e02d3157cd98ac2734d9b.gz
* Add XMonad.Actions.SpawnOnSpencer Janssen2009-01-171-2/+3
| | | | | | Ignore-this: 63869d1ab11f2ed5aab1690763065800 darcs-hash:20090117040432-25a6b-306aa18fed69a47197ca8c349cf6452939db5188.gz
* Update all uses of doubleFork/waitForProcessSpencer Janssen2009-01-161-2/+2
| | | | | | Ignore-this: 4e15b7f3fd6af3b7317449608f5246b0 darcs-hash:20090116210315-25a6b-53190793833624e0c5e36ce353333092e5243883.gz
* windowPromptBringCopydeadguysfrom2008-10-231-4/+15
| | | | darcs-hash:20081023173019-d8db3-9633a3bb3257ba61fb9be9e835e5ada501538daf.gz
* simplify WindowBringer code, and change greedyView to focusWindowDevin Mullins2008-08-111-6/+4
| | | | darcs-hash:20080811033137-78224-6fb0ea21833cf4400fce90981b07826d26162451.gz
* add autoComplete option to XMonad.PromptDevin Mullins2008-07-041-0/+9
| | | | | | Maybe this will get Gwern one step closer to a complete Ratpoison binding. darcs-hash:20080704073415-78224-e0d0f2fe32cd4d30972eb781e51fdfd78822ffbe.gz
* move AppLauncher from Actions module to Prompt modulezhen.sydow2008-05-131-0/+72
| | | | darcs-hash:20080513201252-3cf16-f92855fb696915644cc2cdbc52f7b3f860894f3d.gz
* forgot a haddock for getEditor in Shell.hsgwern02008-04-011-0/+1
| | | | darcs-hash:20080401022012-f7719-daae98e66ffd31b165a997b82f67d2a0a4d390a4.gz
* RunOrRaise.hs: FF 3 doesn't use the "Firefox-bin" classnamegwern02008-04-011-14/+14
| | | | darcs-hash:20080401015049-f7719-c74577d9a3eb93c17a6107cafef34cc45d6bcd94.gz
* Shell.hs: +getBrowser, getEditor, helper functiongwern02008-04-011-0/+19
| | | | | | | The helper function asks the shell for the value of a variable, else returns the second argument. getBrowser and getEditor obviously specialize it for two particular possibly queries darcs-hash:20080401013447-f7719-ef866971330f39e4938445e645a726a56707d04f.gz
* added RunOrRaisePrompt, exported getCommands from ShellJustin Bogner2008-03-232-0/+78
| | | | darcs-hash:20080323222632-18f27-a9eb1ed596a12f474f45f9d40a8f981ff01326d4.gz
* Xmonad.Prompt.DirExec: fix haddock errorLukas Mai2008-03-161-1/+1
| | | | darcs-hash:20080316042840-462cf-bde1eeb27687141a83f131c0710b968c07a01cc1.gz
* Shell: add support for UTF-8 localesAndrea Rossato2008-03-021-5/+5
| | | | darcs-hash:20080302095924-32816-62d05666cf2d7c3897055aa20afff0f0c31eda1f.gz
* Ssh: coding styleAndrea Rossato2008-02-291-5/+5
| | | | darcs-hash:20080229100346-32816-c4a670f4280b518a9be76304c54ff426449e030d.gz
* Ssh: complete known hosts with non standard ports tooAndrea Rossato2008-02-291-2/+12
| | | | darcs-hash:20080229095014-32816-be85541c5f65ba9467d327ec3e305c961811678b.gz
* Fix xmonadPromptC and use it.nicolas.pouillard2008-03-061-3/+6
| | | | darcs-hash:20080306163928-94725-0476d932b8aabe1e760946d7d0da54386987c9b6.gz