File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change @@ -39,12 +39,13 @@ buildPythonApplication rec {
3939 postPatch = ''
4040 patchShebangs shell_scripts
4141 substituteInPlace shell_scripts/{awsume,awsume.fish} --replace-fail "awsumepy" "$out/bin/awsumepy"
42+ substituteInPlace awsume/configure/autocomplete.py --replace-fail "awsume-autocomplete" "$out/bin/awsume-autocomplete"
4243 '' ;
4344
4445 postInstall = ''
4546 installShellCompletion --cmd awsume \
4647 --bash <(PYTHONPATH=./awsume/configure ${ python3 } /bin/python3 -c"import autocomplete; print(autocomplete.SCRIPTS['bash'])") \
47- --zsh <(PYTHONPATH=./awsume/configure ${ python3 } /bin/python3 -c"import autocomplete; print(autocomplete.SCRIPTS['zsh'] )") \
48+ --zsh <(PYTHONPATH=./awsume/configure ${ python3 } /bin/python3 -c"import autocomplete; print(autocomplete.ZSH_AUTOCOMPLETE_FUNCTION )") \
4849 --fish <(PYTHONPATH=./awsume/configure ${ python3 } /bin/python3 -c"import autocomplete; print(autocomplete.SCRIPTS['fish'])") \
4950
5051 rm -f $out/bin/awsume.bat
You can’t perform that action at this time.
0 commit comments