mirror of
https://github.com/cheat/cheat.git
synced 2025-09-05 19:42:55 +02:00
Prepand _ to cheat.zsh to make zsh autocompletions works
This commit is contained in:
2
setup.py
2
setup.py
@ -17,6 +17,6 @@ setup(name='cheat',
|
|||||||
package_data={'cheatsheets': [f for f in os.listdir('cheatsheets')
|
package_data={'cheatsheets': [f for f in os.listdir('cheatsheets')
|
||||||
if '.' not in f]},
|
if '.' not in f]},
|
||||||
scripts=['cheat'],
|
scripts=['cheat'],
|
||||||
data_files=[('/usr/share/zsh/site-functions', ['autocompletion/cheat.zsh']),
|
data_files=[('/usr/share/zsh/site-functions', ['autocompletion/_cheat.zsh']),
|
||||||
('/etc/bash_completion.d' , ['autocompletion/cheat.bash'])]
|
('/etc/bash_completion.d' , ['autocompletion/cheat.bash'])]
|
||||||
)
|
)
|
||||||
|
Reference in New Issue
Block a user