zpyi icon indicating copy to clipboard operation
zpyi copied to clipboard

What exactly does TODO task mean?

Open bhavishyagopesh opened this issue 8 years ago • 4 comments

If you could please elaborate the "TODO"...like which packages exactly....Thanks

bhavishyagopesh avatar Jul 23 '17 20:07 bhavishyagopesh

Some operating systems show an error saying that the package you wanted was not installed, and it can be installed using yada-yada command. They use the same command-not-found handler for that, which this package overrides. It might be nice to have that as an option too.

sakshamsharma avatar Jul 24 '17 18:07 sakshamsharma

@bhavishyagopesh You may want to try another approach. So those OS which have such a feature, they already assign a command not found handler. Maybe you could store that in a variable before zpyi overrides that handler, and then call it later.

sakshamsharma avatar Jul 24 '17 21:07 sakshamsharma

@sakshamsharma Oh I had a thing working with a zsh script that ran before zpyi.py and if it failed(i.e. "no such package exists")...than zpyi.py would execute normally. The zsh script checks for the linux-disro and brings up a prompt(also asks for passwd etc)....(as per usual update and install routine). But I'll see that approach too.

bhavishyagopesh avatar Jul 24 '17 21:07 bhavishyagopesh

Here's that implementation #10

bhavishyagopesh avatar Jul 25 '17 11:07 bhavishyagopesh