aboutsummaryrefslogtreecommitdiffstats
path: root/README.org
diff options
context:
space:
mode:
authorgramanas <anastasis.gramm2@gmail.com>2018-11-19 01:39:55 +0200
committergramanas <anastasis.gramm2@gmail.com>2018-11-19 01:39:55 +0200
commita6290ec9d98e3b7cc650db134b17ee6d6a64f46d (patch)
tree4d7616948c8448335f07508e8299a94713ab185a /README.org
parent7d10e2377b01ac3e38b412f6bc2fa2e384804057 (diff)
downloadck-a6290ec9d98e3b7cc650db134b17ee6d6a64f46d.tar.gz
ck-a6290ec9d98e3b7cc650db134b17ee6d6a64f46d.tar.bz2
ck-a6290ec9d98e3b7cc650db134b17ee6d6a64f46d.zip
Update readme
Diffstat (limited to 'README.org')
-rw-r--r--README.org12
1 files changed, 9 insertions, 3 deletions
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