Files
emacs/settings/shell-settings.el
2022-01-06 23:47:26 +01:00

28 lines
738 B
EmacsLisp

;;; shell-settings.el --- Summary -*- lexical-binding: t -*-
;;; Commentary:
;;; Code:
(use-package comint ;; parent mode of many shell modes
:bind (:map comint-mode-map
("<up>" . comint-previous-input)
("<down>" . comint-next-input)))
(use-package sh-script
:defer t
:config
(setq sh-basic-offset 2))
(use-package powershell ;; https://melpa.org/#/powershell
:commands powershell-mode)
(use-package eshell-mode
:defer t
:init
(setq eshell-directory-name (concat user-cache-directory "eshell/")))
(use-package vterm
:load-path (lambda () (list (concat config-dir "lisp/vterm")))
:commands (vterm))
(provide 'shell-settings)
;;; shell-settings.el ends here