mirror of
https://github.com/xmonad/xmonad-contrib.git
synced 2025-07-26 09:41:52 -07:00
X.P.Shell: fix shadowing warning
This commit is contained in:
@@ -110,7 +110,7 @@ getShellCompl cmds p s | s == "" || last s == ' ' = return []
|
||||
| x `startsWith` s && not (y `startsWith` s) = LT
|
||||
| y `startsWith` s && not (x `startsWith` s) = GT
|
||||
| otherwise = x `compare` y
|
||||
startsWith s ps = isPrefixOf (map toLower ps) (map toLower s)
|
||||
startsWith str ps = isPrefixOf (map toLower ps) (map toLower str)
|
||||
|
||||
commandCompletionFunction :: [String] -> Predicate -> String -> [String]
|
||||
commandCompletionFunction cmds p str | '/' `elem` str = []
|
||||
|
Reference in New Issue
Block a user