Timeline for how to name buffers (*shell*)
Current License: CC BY-SA 4.0
7 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
May 23, 2020 at 18:37 | comment | added | jagrg |
You need the interactive call to use the optional argument (e.g. C-u M-x unique-shell ). I was also getting an error from (advice-add 'shell :after (lambda (_)...) , but I see the argument is optional so I probably should've used (advice-add 'shell :after (lambda (&optional _)...) .
|
|
May 22, 2020 at 17:59 | comment | added | DLAN | Wouldn't the (interactive) line already handle the (call-interactively...) part, or do these do something different? | |
May 20, 2020 at 19:10 | comment | added | jagrg |
I suppose (add-hook 'shell-mode-hook 'rename-uniquely) would work too.
|
|
May 20, 2020 at 19:09 | history | edited | jagrg | CC BY-SA 4.0 |
Call shell interactively
|
Sep 30, 2019 at 19:35 | review | Late answers | |||
Oct 1, 2019 at 1:52 | |||||
Sep 30, 2019 at 19:20 | review | First posts | |||
Sep 30, 2019 at 20:48 | |||||
Sep 30, 2019 at 19:18 | history | answered | DLAN | CC BY-SA 4.0 |