diff options
-rw-r--r-- | emacs/custom/fcuny-eshell.el | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/emacs/custom/fcuny-eshell.el b/emacs/custom/fcuny-eshell.el index 2f53988..fce4ccb 100644 --- a/emacs/custom/fcuny-eshell.el +++ b/emacs/custom/fcuny-eshell.el @@ -114,13 +114,12 @@ multiple eshell windows easier." (let* ((parent (if (buffer-file-name) (file-name-directory (buffer-file-name)) default-directory)) - (height (/ (window-total-height) 3)) (name (car (last (split-string parent "/" t))))) - (split-window-vertically (- height)) + (split-window-horizontally) (other-window 1) (eshell "new") (rename-buffer (concat "*eshell: " name "*")) - (insert (concat "ls")) + (insert (concat "ls " "-lh")) (eshell-send-input))) (defun fcuny/eshell-main () |