Y
Hacker News
new
|
ask
|
show
|
jobs
by
oskarth
3249 days ago
This works for me:
(defun eshell/x () (interactive) (insert "exit") (eshell-send-input) (delete-window))