Skip to content

Commit

Permalink
Add autocomplete scripts as data files
Browse files Browse the repository at this point in the history
  • Loading branch information
mayankpatibandla committed Jun 6, 2024
1 parent 81c6654 commit fd80ad9
Show file tree
Hide file tree
Showing 4 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pros.spec
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ a = Analysis(
['pros/cli/main.py'],
pathex=[],
binaries=[],
datas=[],
datas=[('pros/autocomplete/*', 'pros/autocomplete')],
hiddenimports=[],
hookspath=[],
hooksconfig={},
Expand Down
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions pros/cli/misc_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -50,8 +50,8 @@ def upgrade(force_check, no_install):

# Script files for each shell
_SCRIPT_FILES = {
'bash': '.pros-complete.bash',
'zsh': '.pros-complete.zsh',
'bash': 'pros-complete.bash',
'zsh': 'pros-complete.zsh',
'fish': 'pros.fish',
'pwsh': 'pros-complete.ps1',
'powershell': 'pros-complete.ps1',
Expand Down

0 comments on commit fd80ad9

Please sign in to comment.