mirror of
https://github.com/cheat/cheat.git
synced 2025-09-06 03:52:55 +02:00
Change default location of cheatsheets
This commit is contained in:

committed by
Tomas Korbar

parent
df86142b8e
commit
c4c935a6a5
@ -1,4 +0,0 @@
|
||||
import os
|
||||
|
||||
def sheets_dir():
|
||||
return os.path.split(__file__)
|
@ -53,7 +53,7 @@ def paths():
|
||||
""" Assembles a list of directories containing cheatsheets """
|
||||
sheet_paths = [
|
||||
default_path(),
|
||||
cheatsheets.sheets_dir()[0],
|
||||
'/usr/share/cheat',
|
||||
]
|
||||
|
||||
# merge the CHEATPATH paths into the sheet_paths
|
||||
|
Reference in New Issue
Block a user