EasyGnuPG / egpg

Easy GnuPG, shell scripts to make GnuPG more accessible and easier to use. (Migrated to: https://gitlab.com/EasyGnuPG/egpg)
GNU General Public License v3.0
26 stars 5 forks source link

gui open added #79

Closed diveshuttam closed 6 years ago

diveshuttam commented 6 years ago

closes #78 I have used xdg-open to open the file in default program. Also the existing open logic for checking if file existed had some problem.

Though the cmd_open function also checks if the target file exists using yesno. But I have used another separate check in gui_open to get the pango formatting and a bit detailed message without cluttering logic in cmd_open.