visidata: fix #202165, add shell completions (#223894)

* visidata: fix #202165, add shell completions

* visidata: replace pname with _visidata

---------

Co-authored-by: superherointj <5861043+superherointj@users.noreply.github.com>
This commit is contained in:
wzy
2023-03-30 15:00:49 -03:00
committed by GitHub
co-authored by superherointj
parent 5d9c49eedc
commit 4c580b0107
@@ -130,6 +130,10 @@ buildPythonApplication rec {
bash dev/test.sh
runHook postCheck
'';
postInstall = ''
python dev/zsh-completion.py
install -Dm644 _visidata -t $out/share/zsh/site-functions
'';
pythonImportsCheck = ["visidata"];