From a6290ec9d98e3b7cc650db134b17ee6d6a64f46d Mon Sep 17 00:00:00 2001 From: gramanas Date: Mon, 19 Nov 2018 01:39:55 +0200 Subject: Update readme --- README.org | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'README.org') diff --git a/README.org b/README.org index 6090850..756ed3a 100644 --- a/README.org +++ b/README.org @@ -205,12 +205,18 @@ This section is an example usage. # escape symbols $ ck search \( - # edit the primary config of emacs + # edit the primary config of emacs wiht $EDITOR $ ck edit emacs + # or with vi + $ ck e emacs --editor vi + # run the command cat to it + $ ck edit emacs --command cat + # or a complex editor call + $ ck edit emacs --command "emacsclient -a \"\" -t" # edit a non-primary config of ssh - $ ck e ssh authorized_keys + $ ck e emacs init.el # edit a root config - $ sudo ck -c /home/ckuser e ssh sshd_config + $ ck e ssh -s # delete a program with all the configs $ ck delete emacs -- cgit v1.2.3