diff options
| author | bard <[email protected]> | 2024-01-09 05:30:32 -0500 |
|---|---|---|
| committer | bard <[email protected]> | 2024-01-09 05:30:32 -0500 |
| commit | f370cfbd985588daaed7f3b62c7f8f5933cf55b1 (patch) | |
| tree | 6caf3c3b5f7e44c4af5e53d87212bcca1af2d7ea /bard-elisp/bard-terminal.el | |
| parent | 3e7a65be20d005fbef8ee1bc994818b68ca5e817 (diff) | |
initial commit
Diffstat (limited to 'bard-elisp/bard-terminal.el')
| -rw-r--r-- | bard-elisp/bard-terminal.el | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/bard-elisp/bard-terminal.el b/bard-elisp/bard-terminal.el new file mode 100644 index 0000000..09901e6 --- /dev/null +++ b/bard-elisp/bard-terminal.el @@ -0,0 +1,9 @@ +(defun open-terminal-in-current-directory () + "Open a terminal in the current working directory." + (interactive) + (let ((default-directory default-directory)) + (start-process "urxvt-terminal" nil "urxvtc"))) + +(global-set-key (kbd "C-c t") 'open-terminal-in-current-directory) + +(provide 'bard-terminal.el) |
