commit: bfce7d731ce9c41c6bc3e5b8acf26f4d2ec53e32 Author: Michał Górny <mgorny <AT> gentoo <DOT> org> AuthorDate: Fri Feb 5 20:02:06 2016 +0000 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> CommitDate: Fri Feb 5 20:36:30 2016 +0000 URL: https://gitweb.gentoo.org/proj/eselect-python.git/commit/?id=bfce7d73
Add edit action python.eselect.in | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/python.eselect.in b/python.eselect.in index d84f1ef..bbe024f 100644 --- a/python.eselect.in +++ b/python.eselect.in @@ -167,6 +167,18 @@ post_update() { set_python_docs "${main_interp}" } +### edit action ### + +describe_edit() { + echo "Edit the interpreter preference list" +} + +do_edit() { + [[ ${EDITOR} ]] || die "EDITOR is not set" + + ${EDITOR} "${CONFIG_PATH}" +} + ### show action ### describe_show() {