emacs.d

bloated emacs configuration
git clone git://git.ckyln.com/~cem/emacs.d.git
Log | Files | Refs | README

commit 8f8729aed7aa767c879012b4f056b2956eab6409
parent 08b7517313af5c832a5ef3df01e252401c609bf5
Author: Cem Keylan <cem@ckyln.com>
Date:   Tue, 31 Mar 2020 01:38:54 +0300

remove docker configuration I have never used

Diffstat:
Minit.org | 25-------------------------
1 file changed, 0 insertions(+), 25 deletions(-)

diff --git a/init.org b/init.org @@ -38,7 +38,6 @@ - [[Other Settings][Other Settings]] - [[Dired -- ls dired][Dired -- ls dired]] - [[Coding System for Terminal][Coding System for Terminal]] - - [[Docker][Docker]] - [[Backup Options][Backup Options]] - [[Set Browser][Set Browser]] - [[Notes][Notes]] @@ -689,30 +688,6 @@ not have a =--dired= option. Let's disable it. #+BEGIN_SRC emacs-lisp (set-terminal-coding-system 'utf-8) #+END_SRC -** Docker -I got this tramp configuration from [[https://willschenk.com/articles/2020/tramp_tricks]] -#+BEGIN_SRC emacs-lisp - (push - (cons - "docker" - '((tramp-login-program "docker") - (tramp-login-args (("exec" "-it") ("%h") ("/bin/bash"))) - (tramp-remote-shell "/bin/sh") - (tramp-remote-shell-args ("-i") ("-c")))) - tramp-methods) - - (defadvice tramp-completion-handle-file-name-all-completions - (around dotemacs-completion-docker activate) - "(tramp-completion-handle-file-name-all-completions \"\" \"/docker:\" returns - a list of active Docker container names, followed by colons." - (if (equal (ad-get-arg 1) "/docker:") - (let* ((dockernames-raw (shell-command-to-string "docker ps | awk '$NF != \"NAMES\" { print $NF \":\" }'")) - (dockernames (cl-remove-if-not - #'(lambda (dockerline) (string-match ":$" dockerline)) - (split-string dockernames-raw "\n")))) - (setq ad-return-value dockernames)) - ad-do-it)) -#+END_SRC ** Backup Options #+BEGIN_SRC emacs-lisp