emacs-helm / helm-system-packages

A Helm interface to the package manager of your operating system
GNU General Public License v3.0
106 stars 11 forks source link

Use eshell for dpkg with readline interface #11

Closed dvzubarev closed 6 years ago

dvzubarev commented 6 years ago

Dpkg provides many interfaces for interacting with an user. It is customized via DEBIAN_FRONTEND environment variable. The interface that is used by default doesn't work well with eshell. So the interface is switched to readline and added an option to disable user prompts entirely (helm-system-packages-dpkg-confirm-p).

I tested this PR on ubuntu 16.04 and debian 8.5.

Ambrevar commented 6 years ago

Another nit: please prefix the commit message with the package manager, i.e.

dpkg: Use Eshell with readline interface

Ambrevar commented 6 years ago

Excellent! Thank you very much!