All Projects → coot → zsh-haskell

coot / zsh-haskell

Licence: MPL-2.0 license
ghc and cabal completion for zsh shell

Programming Languages

shell
77523 projects

Projects that are alternatives of or similar to zsh-haskell

Ghc Core Literature Review
Literature review of GHC's Core language, System FC
Stars: ✭ 67 (+272.22%)
Mutual labels:  ghc
Vscode Ghc Simple
Simple GHC (Haskell) integration for VSCode
Stars: ✭ 214 (+1088.89%)
Mutual labels:  ghc
zsh-completions
Yet another zsh completion sources library. Fork, fix and written by me.
Stars: ✭ 80 (+344.44%)
Mutual labels:  zsh-completions
Haste Compiler
A GHC-based Haskell to JavaScript compiler
Stars: ✭ 1,429 (+7838.89%)
Mutual labels:  ghc
Haskell Gi
Generate Haskell bindings for GObject-Introspection capable libraries
Stars: ✭ 190 (+955.56%)
Mutual labels:  ghc
Haskell Ide Engine
The engine for haskell ide-integration. Not an IDE
Stars: ✭ 2,433 (+13416.67%)
Mutual labels:  ghc
Octopod
🐙🛠️ Open-source self-hosted solution for managing multiple deployments in a Kubernetes cluster with a user-friendly web interface.
Stars: ✭ 47 (+161.11%)
Mutual labels:  ghc
vabal
cabal in Valle
Stars: ✭ 43 (+138.89%)
Mutual labels:  ghc
All Hies
Cached Haskell IDE Engine Nix builds for all GHC versions
Stars: ✭ 201 (+1016.67%)
Mutual labels:  ghc
zsh-config
Faster and enjoyable ZSH (maybe) !!!
Stars: ✭ 64 (+255.56%)
Mutual labels:  zsh-completions
Ghc Grin
GRIN backend for GHC
Stars: ✭ 123 (+583.33%)
Mutual labels:  ghc
Higgledy
Higher-kinded data via generics
Stars: ✭ 153 (+750%)
Mutual labels:  ghc
Haskell Symbol Search Cheatsheet
Haskell/GHC symbol search cheatsheet
Stars: ✭ 243 (+1250%)
Mutual labels:  ghc
Schematic
type-safe JSON spec and validation tool
Stars: ✭ 81 (+350%)
Mutual labels:  ghc
Zsh Completions
Additional completion definitions for Zsh.
Stars: ✭ 4,907 (+27161.11%)
Mutual labels:  zsh-completions
Lazy evaluation
haskell lazy evaluation illustrated
Stars: ✭ 58 (+222.22%)
Mutual labels:  ghc
Haskell Ghc Illustrated
haskell ghc-illustrated
Stars: ✭ 218 (+1111.11%)
Mutual labels:  ghc
smuggler2
Minimise haskell imports, make exports explicit
Stars: ✭ 18 (+0%)
Mutual labels:  ghc
Awesome Zsh Plugins
A collection of ZSH frameworks, plugins, themes and tutorials.
Stars: ✭ 10,129 (+56172.22%)
Mutual labels:  zsh-completions
Ghcup
DEPRECATED IN FAVOR OF haskell/ghcup-hs
Stars: ✭ 249 (+1283.33%)
Mutual labels:  ghc

ZSH shell plugin for Haskell

  • completion for ghc options
  • completion for cabal commands; it can expands cabal components (libraries, tests, benchmarks and executables) and pkgs specs. It also complets options of cabal commands and package names (e.g. cabal info or cabal install)
  • completion for ghc-pkgs commands & options

Usage

The completion script will find and inspect all cabal files under current directory which are not deeper than four directories away. It does not descent under dist-newstye, dist, .stack-work or .git directories.

Completion for the following package specs is supported:

  • component-name - it can be either a component name or a package name
  • package-name:{lib,test,exe,bench}:component-name
  • package-name:{libs,tests,exes,benches}
  • pkg:package-name:{lib,test,exe,bench}:component-name.
  • pkg:package-name:{libs,tests,exes,benches}.
  • lib:component-name,
  • exec:component-name,
  • bench:component-name,
  • test:component-name

The last six are only triggered when pkg:, lib:, exec:, bench: or test: are given explicitly. This is in order to avoid providing too many completion results.

Configuration

zstyle ":completion::complete:cabal::options:" depth 4

Maximan directory depth for searching for *.cabal files.

zstyle ":completion::complete:cabal::options:" 
zstyle ":completion::complete:cabal::options:" packages-tmp-file "/tmp/zsh-haskell-cabal-packages"

File which stores list of package names. It will be created on demenad (e.g. by completiting cabal info or cabal install, etc.).

Demo

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].