Package Details: cheat-git 4.1.0.r0.g82e1c27-1

Git Clone URL: https://aur.archlinux.org/cheat-git.git (read-only, click to copy)
Package Base: cheat-git
Description: Allows you to create and view interactive cheatsheets on the command-line
Upstream URL: https://github.com/cheat/cheat
Keywords: cheatsheet cli doc man terminal
Licenses: MIT, CC0 1.0 Universal
Conflicts: cheat, cheat-bash-git, python-cheat
Provides: cheat
Submitter: askurihin
Maintainer: yochananmarqos (MagicAndWires)
Last Packager: yochananmarqos
Votes: 42
Popularity: 0.27
First Submitted: 2013-08-29 13:59
Last Updated: 2020-09-07 15:07

Pinned Comments

yochananmarqos commented on 2020-07-13 21:50

The upstream zsh completion file conflicts with the zsh-completions package. It's now installed to /usr/share/doc/cheat/_cheat. You can copy or symlink it to a custom folder like $HOME/.local/share/zsh/site-functions/ and source it in your .zshrc.

Latest Comments

« First ‹ Previous 1 2 3 Next › Last »

yochananmarqos commented on 2019-10-21 21:16

@MagicAndWires: I was working on a similar PKGBUILD, but it errors out during build:

==> Starting build()...
# command-line-arguments
loadinternal: cannot find runtime/cgo
../gopath/src/github.com/alecthomas/chroma/lexers/internal/api.go:9:2: cannot find package "github.com/danwakefield/fnmatch" in any of:
    /usr/lib/go/src/github.com/danwakefield/fnmatch (from $GOROOT)
    /home/yochanan/Documents/pkgbuilds/cheat/src/gopath/src/github.com/danwakefield/fnmatch (from $GOPATH)
../gopath/src/github.com/cheat/cheat/internal/config/config.go:11:2: cannot find package "gopkg.in/yaml.v2" in any of:
    /usr/lib/go/src/gopkg.in/yaml.v2 (from $GOROOT)
    /home/yochanan/Documents/pkgbuilds/cheat/src/gopath/src/gopkg.in/yaml.v2 (from $GOPATH)
==> ERROR: A failure occurred in build().
    Aborting...

MagicAndWires commented on 2019-10-21 20:30

I made a patch for the PKGBUILD that works with the new release; you can find it here.

Also note that this package now needs the files from: https://github.com/cheat/cheatsheets to work. I might write a split package for that on a later date.

fedex_cain commented on 2019-10-21 10:22

Hey, version 3.0.0 was just released and has been reimplemented in golang, so this package will need to be adapted for this change.

Github Release: https://github.com/cheat/cheat/releases/tag/3.0.0

guotsuan commented on 2019-01-30 10:06

The package has been updated. Thanks @yochananmarqos.

yochananmarqos commented on 2019-01-28 22:19

If you're going to install the bash autocompletion file, why not also install the zsh & fish versions as well? See my PKGBUILD.

guotsuan commented on 2018-06-18 14:20

Thanks @yochananmarqos, the package has been updated.

yochananmarqos commented on 2018-06-06 17:48

The optional dependency should be python2-pygments. Also, bash-completion should be added as optional as well. See Enabling Command line Autocompletion.

$ wget https://github.com/chrisallenlane/cheat/raw/master/cheat/autocompletion/cheat.bash
$ mv cheat.bash cheat
# mv cheat /usr/share/bash-completion/completions

EDIT: cheat-bash-git and python-cheat need to be added as conflicts.

guotsuan commented on 2016-06-13 18:58

Yes. The codes are fetched from: https://github.com/chrisallenlane/cheat

shen commented on 2016-06-13 18:07

Last Updated: 2016-03-10

I'm not familiar with X-git packages. Does it fetch the latest app from `github:chrisallenlane/cheat` ?

orschiro commented on 2014-10-04 20:11

I will disown the package since I am no longer using cheat-git.

Feel free to adopt it.