xmonad-contrib-0.16.999: Community-maintained extensions extensions for xmonad
Copyright(C) 2020 Zubin Duggal
LicenseBSD3
Maintainerzubin.duggal@gmail.com
Stabilityunstable
Portabilityunportable
Safe HaskellNone
LanguageHaskell98

XMonad.Prompt.Zsh

Description

A version of XMonad.Prompt.Shell that lets you access the awesome power of Zsh completions in your xmonad prompt

Synopsis

Usage

  1. Grab the capture.zsh script to capture zsh completions from https://github.com/Valodim/zsh-capture-completion
  2. In your ~/.xmonad/xmonad.hs:
import XMonad.Prompt
import XMonad.Prompt.Zsh
  1. 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.

Utility functions

stripZsh :: String -> String Source #

Removes the argument description from the zsh completion