1
1
mirror of https://github.com/chubin/cheat.sh.git synced 2024-11-23 19:43:33 +03:00

Replaced hardcoded paths with something kept local to the cheat.sh folder

This commit is contained in:
Brandon Lopez 2018-07-27 16:17:11 -07:00
parent 6862a7a1f9
commit fe5046d481

View File

@ -18,10 +18,10 @@ TEMPLATES = os.path.join(MYDIR, 'share/templates')
STATIC = os.path.join(MYDIR, 'share/static')
PATH_VIM_ENVIRONMENT = os.path.join(MYDIR, 'share/vim')
PATH_TLDR_PAGES = "/home/igor/.tldr/cache/pages/*/*.md"
PATH_CHEAT_PAGES = "/usr/local/lib/python2.7/dist-packages/cheat/cheatsheets/*"
PATH_CHEAT_SHEETS = "/home/igor/cheat.sheets/sheets/"
PATH_CHEAT_SHEETS_SPOOL = "/home/igor/cheat.sheets/spool/"
PATH_TLDR_PAGES = os.path.join(MYDIR, "cheatsheets/tldr/*/*.md")
PATH_CHEAT_PAGES = os.path.join(MYDIR, "cheatsheets/cheat/*")
PATH_CHEAT_SHEETS = os.path.join(MYDIR, "cheatsheets/sheets/")
PATH_CHEAT_SHEETS_SPOOL = os.path.join(MYDIR, "cheatsheets/spool/")
COLOR_STYLES = sorted(list(get_all_styles()))