New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Set cheat dir on command line. Allows you to use different cheat dirs for different purposes #144

rightaway opened this Issue Feb 4, 2014 · 2 comments


None yet
3 participants

rightaway commented Feb 4, 2014

If it's allowed to set the cheat directory on the command line, it would let you do some pretty cool stuff.

alias recipe="cheat --dir ~/.recipe"
alias notes="cheat --dir ~/.notes"
alias cheat="cheat --dir ~/.cheat"

That way you can simply run commands like:

$ cheat tar
$ recipe cake
$ notes todo

Right now you can only set one global cheat directory path.


This comment has been minimized.

demaya commented Feb 16, 2014

Why not something like

alias test="export DEFAULT_CHEAT_DIR=~/test && cheat -l"



This comment has been minimized.


chrisallenlane commented May 25, 2014

For the sake of keeping cheat's interface is simple as possible, I'm going to close this one as a wontfix. I think @demaya's suggestion is a great one, though, for accomplishing exactly what you're looking for.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment