Last active
August 28, 2025 03:46
-
-
Save andiogenes/42566301f4ac0175ede15cc6a0758f12 to your computer and use it in GitHub Desktop.
Start terminal emulator in current directory.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| (defun term-emulator-here () | |
| "Start terminal emulator in current directory." | |
| (interactive) | |
| (let* ((term-emulator "alacritty") | |
| (display-buffer-alist '(("\\*Async Shell Command\\*.*" display-buffer-no-window))) | |
| (command term-emulator)) | |
| (async-shell-command command))) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment