diff options
| author | Gabriele Bozzola <sbozzolator@gmail.com> | 2020-06-05 18:26:36 -0700 |
|---|---|---|
| committer | Gabriele Bozzola <sbozzolator@gmail.com> | 2020-06-13 07:55:46 -0700 |
| commit | 16555ff655962fc03b650652cb8d9efec788347e (patch) | |
| tree | fc1b588995d74ad273816f3eb0281bf8c3c04e02 /README.md | |
| parent | 5b19c8356575232e9ab38e7186173656d15b8f14 (diff) | |
Add comments on prompt identification
Diffstat (limited to 'README.md')
| -rw-r--r-- | README.md | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -555,8 +555,8 @@ On most GNU/Linux systems, you can read current directory from `/proc`: (interactive) (when vterm--process (let* ((pid (process-id vterm--process)) - (dir (file-truename (format "/proc/%d/cwd" pid)))) - (setq-local default-directory dir)))) + (dir (file-truename (format "/proc/%d/cwd/" pid)))) + (setq default-directory dir)))) ``` A possible application of this function is in combination with `find-file`: ```emacs-lisp |
