Copyright | (C) 2020 Zubin Duggal |
---|---|
License | BSD3 |
Maintainer | zubin.duggal@gmail.com |
Stability | unstable |
Portability | unportable |
Safe Haskell | None |
Language | Haskell2010 |
A version of XMonad.Prompt.Shell that lets you access the awesome power of Zsh completions in your xmonad prompt
Usage
- Grab the
capture.zsh
script to capture zsh completions from https://github.com/Valodim/zsh-capture-completion - In your
~/.xmonad/xmonad.hs
:
import XMonad.Prompt import XMonad.Prompt.Zsh
- In your keybindings add something like:
, ((modm .|. controlMask, xK_x), zshPrompt def "/path/to/capture.zsh")
For detailed instruction on editing the key binding see XMonad.Doc.Extending.
Instances
XPrompt Zsh Source # | |
Defined in XMonad.Prompt.Zsh showXPrompt :: Zsh -> String Source # nextCompletion :: Zsh -> String -> [String] -> String Source # commandToComplete :: Zsh -> String -> String Source # completionToCommand :: Zsh -> String -> String Source # |