From 726f1baf8cc67b9db122302495dbcf0b93f3f27d Mon Sep 17 00:00:00 2001 From: Daniel Borchmann Date: Sat, 3 Aug 2024 09:53:09 +0200 Subject: [PATCH] Show async shell command output in bottom side window I found that opening this output on the right side to be annoying, so let's switch try the bottom side window instead. This also works with having an eshell buffer open at the same time, resulting in a nice reuse of the right space of eshell windows that is usually empty. --- init.el | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/init.el b/init.el index fe716de..8b0ec09 100644 --- a/init.el +++ b/init.el @@ -297,9 +297,10 @@ (add-to-list 'display-buffer-alist '("^\\*Async Shell Command*" (display-buffer-in-side-window) - (side . right) - (slot . 0) - (window-width . 0.33))) + (side . bottom) + (slot . 1) + (window-height . 0.33) + (window-parameters . ((no-other-window . t))))) (add-to-list 'display-buffer-alist '("^\\*Warnings\\*" (display-buffer-in-side-window)